Difference between revisions of "Data"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
m
old>Realpsojed
m
Line 1: Line 1:
<noinclude>Page for all Stoneshard data.
<noinclude>Page for all Stoneshard data.


The plan is to use our Parser to convert data from game data into the switch format we use on the wiki. Different templates then transclude data from this page and display it elsewhere on the wiki.
The plan is to use our Bulk Parser to convert game data into the switch format we use on the wiki. Different templates then transclude data from this page and display it elsewhere on the wiki.


Currently this is in testing phase with templates {{tl|Skill test}} and {{tl|Armor test}}.
Currently this is in testing phase with templates {{tl|Skill test}} and {{tl|Armor test}}.
Line 7: Line 7:
  <nowiki>Option 1 - Keeping the Switch, transcluding individual attributes. {{:Data|Ornate Sallet|ArmorType}} produces:</nowiki>
  <nowiki>Option 1 - Keeping the Switch, transcluding individual attributes. {{:Data|Ornate Sallet|ArmorType}} produces:</nowiki>
{{:Data|Ornate Sallet|ArmorType}}
{{:Data|Ornate Sallet|ArmorType}}
<nowiki>Option 2 - Removing the Switch, transcluding all attributes at once as plaintext. {{:Data|Peasant Hatchet}} produces:</nowiki>
{{:Data|Peasant Hatchet}}
<nowiki>Option 2 seems like it won't work</nowiki>
</noinclude><includeonly>{{#switch: {{{1}}}<!--
</noinclude><includeonly>{{#switch: {{{1}}}<!--



Revision as of 11:15, 22 September 2021

Page for all Stoneshard data.

The plan is to use our Bulk Parser to convert game data into the switch format we use on the wiki. Different templates then transclude data from this page and display it elsewhere on the wiki.

Currently this is in testing phase with templates {{Skill test}} and {{Armor test}}.

Option 1 - Keeping the Switch, transcluding individual attributes. {{:Data|Ornate Sallet|ArmorType}} produces:

Headgear