[Wiki] General Update Reports for salemthegame.wiki

Ask and answer any and all questions pertaining to Salem's game-play.

Re: [Wiki] General Update Reports for salemwiki.info

Postby TotalyMeow » Tue Feb 02, 2016 8:55 pm

Kralith wrote:
TotalyMeow wrote:
jcwilk wrote:Sure would be nice if the Variable Foods page ( http://salemwiki.info/index.php/Variable_Food ) shared data with the individual variable templates


Does it not already do that? Or maybe the templates just have the values inherent in them. That should be easy to update though, just edit the template and change 4 or fewer numbers.


No the Values are all "hard written".
Means, they are hand written seperatly in Math-Functions in every Food Group Template and in a table in Variable_Food.


You probably shouldn't do it that way. Or are you referring to Property names? Those shouldn't change though, only have to be added.
Community Manager for Mortal Moments Inc.

Icon wrote:This isn't Farmville with fighting, its Mortal Kombat with corn.
User avatar
TotalyMeow
 
Posts: 3782
Joined: Thu Jun 05, 2014 8:14 pm

Re: [Wiki] General Update Reports for salemwiki.info

Postby Kralith » Tue Feb 02, 2016 10:59 pm

TotalyMeow wrote:
Kralith wrote:
TotalyMeow wrote:Does it not already do that? Or maybe the templates just have the values inherent in them. That should be easy to update though, just edit the template and change 4 or fewer numbers.


No the Values are all "hard written".
Means, they are hand written seperatly in Math-Functions in every Food Group Template and in a table in Variable_Food.


You probably shouldn't do it that way. Or are you referring to Property names? Those shouldn't change though, only have to be added.


Yes, good point.
This hard written page is an historical page.
I think we can improve some of these pages if we set more property attributes.
Salem Wiki (PM me if you need help with editing)
Report corrections and new things here.
-----------------------------------------------------------------------
User avatar
Kralith
Customer
 
Posts: 1033
Joined: Sun Dec 16, 2012 2:14 pm
Location: Germany

Re: [Wiki] General Update Reports for salemwiki.info

Postby lachlaan » Wed Feb 03, 2016 1:32 am

Meow knows wiki stuff >.> I'm bored enough to go full conspiracy theorist again and shout "MERENI?!" xD

That said, still major respect for the work on ye olde tribe wiki, regardless of where said Mereni is now. The hardcoded table could do with a template made for it that then just polls ingredients by category. After that point I'd say we can store properties for each food page that is also an ingredient and then poll that in the individual variable food templates.
Exactly 6.022 x 10^23 worth of Lach molecules.
lachlaan
Customer
 
Posts: 2043
Joined: Tue Mar 12, 2013 3:11 pm

Re: [Wiki] General Update Reports for salemwiki.info

Postby TotalyMeow » Wed Feb 03, 2016 6:11 am

You probably could copy/past the old tribe wiki templates if you have the patience for it. They were working pretty well before. And it would be nice to be able to reference an accurate wiki while doing design work. We can't remember everything, and it's so much easier to have a record available than to have to keep one.
Community Manager for Mortal Moments Inc.

Icon wrote:This isn't Farmville with fighting, its Mortal Kombat with corn.
User avatar
TotalyMeow
 
Posts: 3782
Joined: Thu Jun 05, 2014 8:14 pm

Re: [Wiki] General Update Reports for salemwiki.info

Postby Procne » Wed Feb 03, 2016 11:26 am

I have checked the template the other day - it's definitely possible, and not very hard. It would just take some time. Would have to define a range of new properties (1 for each humour in every ingredient) , instead of hardcoded values, and then just plug them into all templates. It's a lot of work for a smal profit.

I'm also not sure what's the talk about old tribe wiki. Our current wiki had templates for variable food at the same time, if not slightly earlier, as the tribe wiki. Was there some feature the tribe wiki had and the current wiki did not?
Image
Procne
 
Posts: 3696
Joined: Mon Sep 03, 2012 11:34 pm

Re: [Wiki] General Update Reports for salemwiki.info

Postby Kralith » Wed Feb 03, 2016 8:08 pm

TotalyMeow wrote:You probably could copy/past the old tribe wiki templates if you have the patience for it. They were working pretty well before. And it would be nice to be able to reference an accurate wiki while doing design work. We can't remember everything, and it's so much easier to have a record available than to have to keep one.


Really, i don't want dissapoint you... but the old tribe wiki (salem-wiki.com) has exactly the same templates like the sabinati wiki (salemwiki.info).
Foodtemplates have the math formula in it, like:
Code: Select all
<!--Crawdad Rows-->
|- style="background:#FFFFFF; color:#000000"
| style="background:#efebe5; text-align:right" | '''[[Crawdad]] Min:'''
| style="background:#E6B8B8;" | {{#expr: {{{ Min Blood|0}}}*1.35}}
| {{#expr: {{{ Min Phlegm|0}}}*0.5}}
| {{#expr: {{{ Min Yellow Bile|0}}}*0.5}}
| {{#expr: {{{ Min Black Bile|0}}}*0.5}}
|
|- style="background:#FFFFFF; color:#000000"
| style="background:#efebe5; text-align:right" | '''[[Crawdad]] Max:'''
| style="background:#E6B8B8;" | {{#expr: {{{ Max Blood|0}}}*1.35}}
| {{#expr: {{{ Max Phlegm|0}}}*0.5}}
| {{#expr: {{{ Max Yellow Bile|0}}}*0.5}}
| {{#expr: {{{ Max Black Bile|0}}}*0.5}}
|- style="background:#FFFFFF; color:#000000";colspan="10"
|


And Varible_Food Page is a hard written table:

Code: Select all
==Variable Values==

:{| class="wikitable sortable"
! Category !! Ingredient !! [[Food Group]] Effect !! Blood !! Phlegm !! Yellow !! Black
|-
| rowspan="4"|Berries
| [[Blackberries]]
| align=center |No Restore
| align=center |.5
| align=center |.5
| align=center |.5
| align=center |1.15
|-


Therefor, bith wikis work the same way.

I guess we have talk past each other.
But we all agree, we should define property attributes for that values and then use them for the math formula and the table.

@lachlaan and Procne... if you both could give me a sample of the rewritten template, i can change all said templates.
Salem Wiki (PM me if you need help with editing)
Report corrections and new things here.
-----------------------------------------------------------------------
User avatar
Kralith
Customer
 
Posts: 1033
Joined: Sun Dec 16, 2012 2:14 pm
Location: Germany

Re: [Wiki] General Update Reports for salemwiki.info

Postby TotalyMeow » Wed Feb 03, 2016 8:13 pm

No. I'd say keep the numbers like you have. It looks good so what's the complaint?
Community Manager for Mortal Moments Inc.

Icon wrote:This isn't Farmville with fighting, its Mortal Kombat with corn.
User avatar
TotalyMeow
 
Posts: 3782
Joined: Thu Jun 05, 2014 8:14 pm

Re: [Wiki] General Update Reports for salemwiki.info

Postby Kralith » Wed Feb 03, 2016 8:19 pm

TotalyMeow wrote:No. I'd say keep the numbers like you have. It looks good so what's the complaint?


:D
I have no complaints!

It was initially an ask by jcwilk.
I guess the intention was, not to have the need to write/change the values twice. ;)
Salem Wiki (PM me if you need help with editing)
Report corrections and new things here.
-----------------------------------------------------------------------
User avatar
Kralith
Customer
 
Posts: 1033
Joined: Sun Dec 16, 2012 2:14 pm
Location: Germany

Re: [Wiki] General Update Reports for salemwiki.info

Postby TotalyMeow » Wed Feb 03, 2016 8:54 pm

Oh, I'm afraid you're probably stuck with that.
Community Manager for Mortal Moments Inc.

Icon wrote:This isn't Farmville with fighting, its Mortal Kombat with corn.
User avatar
TotalyMeow
 
Posts: 3782
Joined: Thu Jun 05, 2014 8:14 pm

Re: [Wiki] General Update Reports for salemwiki.info

Postby Procne » Wed Feb 03, 2016 9:20 pm

Kralith wrote:@lachlaan and Procne... if you both could give me a sample of the rewritten template, i can change all said templates.


For each humour, for eachingredient you have to create template page, like this:
http://salemwiki.info/index.php/Templat ... erry_Black

Then you change variable foods page and templates and instead of hardcoded value for black bile multiplier for blackberries you put {{Berries_Blackberry_Black}}
Already did it for black bile for blackberries
Image
Procne
 
Posts: 3696
Joined: Mon Sep 03, 2012 11:34 pm

PreviousNext

Return to Help!

Who is online

Users browsing this forum: No registered users and 20 guests