Template:SetInfo: Difference between revisions

From Archon Arcana - The KeyForge Wiki
no edit summary
No edit summary
No edit summary
Line 4: Line 4:
<pre>
<pre>
{{SetInfo
{{SetInfo
|SetName=
|SetName=         //The full name of the set
|ShortName=
|ShortName=       //The short 2 or 3 character name of the set
|SetNumber=
|SetNumber=       //Set number as defined by the Ghost Galaxy keyforge database
|ReleaseYear=
|ReleaseYear=     //The year the set was released
|ReleaseMonth=
|ReleaseMonth=   //The rough month the set was released (To help ordering sets)
|IsMain=          //If true ("1"), enable this set on the main gallery page
|IsSpoiler=      //If true ("1"), enable this set on the spoiler page
|IsAdventure=    //If true ("1"), enable this set on its adventure page
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=SetInfo|SetName=Page|ShortName=Text|SetNumber=Text|ReleaseYear=Integer|ReleaseMonth=Integer}}
{{#cargo_declare:_table=SetInfo|SetName=Page|ShortName=Text|SetNumber=Text|ReleaseYear=Integer|ReleaseMonth=Integer|IsMain=Boolean|IsSpoiler=Boolean|IsAdventure=Boolean}}
</noinclude><includeonly>{{#cargo_store:_table=SetInfo|SetName={{{SetName|}}}|ShortName={{{ShortName|}}}|SetNumber={{{SetNumber|}}}|ReleaseYear={{{ReleaseYear|}}}|ReleaseMonth={{{ReleaseMonth|}}} }}{| class="wikitable"
</noinclude><includeonly>{{#cargo_store:_table=SetInfo|SetName={{{SetName|}}}|ShortName={{{ShortName|}}}|SetNumber={{{SetNumber|}}}|ReleaseYear={{{ReleaseYear|}}}|ReleaseMonth={{{ReleaseMonth|}}}|IsMain={{{IsMain}}}|IsSpoiler={{{IsSpoiler}}}|IsAdventure={{{IsAdventure}}} }}{| class="wikitable"
! SetName
! SetName
| {{#if:{{{SetName|}}}|[[{{{SetName|}}}]]}}
| {{#if:{{{SetName|}}}|[[{{{SetName|}}}]]}}
Line 28: Line 31:
! ReleaseMonth
! ReleaseMonth
| {{{ReleaseMonth|}}}
| {{{ReleaseMonth|}}}
|-
! IsMain
| {{{IsMain|}}}
|-
! IsSpoiler
| {{{IsSpoiler|}}}
|-
! IsAdventure
| {{{IsAdventure|}}}
|}
|}
</includeonly>
</includeonly>