Template:Mutation: Difference between revisions

69 bytes added ,  00:02, 30 September 2020
okay
(Add variants infobox row (probably should also be added to cargo, will leave that to Dij)
(okay)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Mutations|Type=String|Cost=Integer|Slots=List (,) of String|Exclusions= List (,) of Page|CreationCode=String|MutationID=String|RealityDistort=Boolean|Description=Wikitext|Prerelease=Boolean|NPConly=Boolean}}
<noinclude>{{#cargo_declare:_table=Mutations
<!--Partially based off of Templates:Item-->
|Type=String
</noinclude><includeonly>{{#cargo_store:_table=Mutations|
|Cost=Integer
Type={{{type|}}}|Cost={{{cost|}}}|Slots={{{slots|}}}|Exclusions={{{exclusions|}}}|CreationCode={{{code|}}}|RealityDistort={{{realitydistort|no}}}|MutationID={{{id|}}}|Description={{qud text|{{{desc|}}}|notxml|unbolded}}|Prerelease={{{prerelease|no}}}|NPConly={{{npconly|no}}}}}{{#vardefine:name|{{qud text|&y{{#titleparts:{{{title|}}}}}|notxml}}}}
|Slots=List (,) of String
{{#invoke:infobox|infobox
|Exclusions= List (,) of Page
|CreationCode=String
|MutationID=String
|RealityDistort=Boolean
|Description=Wikitext
|Prerelease=Boolean
|Variants= List (,) of String
|NPConly=Boolean}}<!--
 
    CARGO STORE
 
--></noinclude><includeonly>{{#cargo_store:_table=Mutations
|Type={{{type|}}}
|Cost={{{cost|}}}
|Slots={{{slots|}}}
|Exclusions={{{exclusions|}}}
|CreationCode={{{code|}}}
|RealityDistort={{{realitydistort|no}}}
|MutationID={{{id|}}}
|Description={{qud text|{{{desc|}}}|unbolded}}
|Prerelease={{{prerelease|no}}}
|Variants={{{variants|}}}
|NPConly={{{npconly|no}}}}}{{#vardefine:name|{{qud text|&y{{#titleparts:{{{title|}}}}} }}}}<!--
 
    INFOBOX START
 
-->{{#invoke:infobox|infobox
| class = qud-mutation-infobox
| class = qud-mutation-infobox
| rows =  
| rows =