8,756
edits
m (add qud-location-infobox class) |
(plain name uses title, but defaults to pagename) |
||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare:_table=Locations|Faction=Page|Biome=Page|Leader=Page|Description=String|TotalFloors=Integer}} | <noinclude>{{#cargo_declare:_table=Locations|Faction=Page|Biome=Page|Leader=Page|Description=String|TotalFloors=Integer}} | ||
{{#cargo_attach:_table=GeneralData}} | {{#cargo_attach:_table=GeneralData}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Locations|Faction={{{faction|}}}|Biome={{{biome|}}}|Leader={{{leader|}}}|Description={{{desc|}}}|TotalFloors={{{floors|}}}}}{{#cargo_store:_table=GeneralData|DisplayName={{qud text|&y{{#titleparts:{{BASEPAGENAME}}}}}}|Image={{#ifeq: {{{image|}}}| none ||{{{image}}}}}|PlainName={{#titleparts:{{ | </noinclude><includeonly>{{#cargo_store:_table=Locations|Faction={{{faction|}}}|Biome={{{biome|}}}|Leader={{{leader|}}}|Description={{{desc|}}}|TotalFloors={{{floors|}}}}}<!-- | ||
{{#invoke:infobox|infobox | |||
GENERAL DATA CARGO STORE | |||
-->{{#cargo_store:_table=GeneralData| | |||
DisplayName={{qud text|&y{{#titleparts:{{BASEPAGENAME}}}}}}| | |||
Image={{#ifeq: {{{image|}}}| none ||{{{image}}}}}| | |||
PlainName={{StripFormatting|{{{title|{{#titleparts:{{PAGENAME}}}} }}} }}| | |||
DisplayChar= {{qud char|&y|•}} }}[[Category:Locations]]<!-- | |||
INFOBOX START | |||
-->{{#invoke:infobox|infobox | |||
| class = qud-location-infobox | | class = qud-location-infobox | ||
| rows = | | rows = | ||
Line 12: | Line 23: | ||
{{#if: {{{desc|}}} | {{qud look|text={{{desc}}}}} }} | {{#if: {{{desc|}}} | {{qud look|text={{{desc}}}}} }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
[[Category:Templates]] | [[Category:Cargo Store Templates]] | ||
{{doc}}</noinclude> | {{doc}}</noinclude> |