Dicemonger (talk | contribs) mNo edit summary |
Dicemonger (talk | contribs) mNo edit summary |
||
(28 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:Short|Description|Districts|Population|Level|OtherNames|Denonym|Parent|isMaster|headerImage|sideImage|sideLink}} | {{#template_params:Type|Short|Description|Districts|Factions|Population|Level|OtherNames|Denonym|Parent|isMaster|headerImage|sideImage|sideLink}} | ||
{{#cargo_declare:_table= | {{#cargo_declare:_table=Wards|Name=String|Type=String|Short=String|Description=Wikitext|Districs=Wikitext|Population=String|Level=String|OtherNames=List (,) of String|Denonym=String|Parent=Page}} | ||
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table= | </noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Wards|Name={{SUBPAGENAME}}}} | ||
{{#ifeq:{{{Parent|}}}|The City|<yambe:breadcrumb>The City</yambe:breadcrumb>|<div id="yambe" class="noprint">[[Main Page|Front Page]] > [[Settlements]] > [[{{{Parent}}} > {{SUBPAGENAME}}]]</div>}}}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}} | |||
{{ | {{#if:{{{isMaster|}}}|<div class="flexcardcontainer"><div class="flexcard_main">|<h3 style="margin-top: 0em;"> {{{Name}}} [[File:Link tome.webp|25px|link={{{Name}}}]]</h3>}} | ||
{{#if:{{{ | |||
{{#if:{{{isMaster|}}}||<h3 style="margin-top: 0em;"> {{{Name}}} [[File:Link tome.webp|25px|link={{{Name}}}]]</h3>}} | |||
''{{{Short}}}'' | ''{{{Short}}}'' | ||
{{{Description}}} | {{{Description}}} | ||
{{#if:{{{isMaster|}}}|{{#if:{{{Districts|}}}|<h3> | {{#if:{{{isMaster|}}}|{{#if:{{{Districts|}}}|<h3>Locations of Note</h3> | ||
{{# | <div class="flexcardcontainer">{{{Districts}}}</div>}}}} | ||
{{#if:{{{isMaster|}}}|</div><div class="flexcard_side" style="min-width:270px;"> | |||
<div style="background-color: var(--pi-secondary-background); padding:6px;"> | |||
<h3>{{PAGENAME}}</h3> | |||
{{#if:{{{sideImage|}}}|[[Image:{{{sideImage}}}|class=fullwidth]]}} <p class="infoboxHeader">Basic Info</p> {{InfoBoxRow|{{{Type|}}}|Type}} {{InfoBoxRow|{{{OtherNames|}}}|Alternative Name(s)}} {{InfoBoxRow|{{{Level|}}}|Level}} {{InfoBoxRow|{{{Population|}}}|Population}} {{InfoBoxRow|{{{Denonym|}}}|Denonym}} | |||
</div > | |||
{{#if:{{{Factions|}}}|<div ><h3>Guilds and Factions</h3> | |||
{{{Factions}}}</div>}} | |||
</div>}} | |||
[[Category: | [[Category:Wards]] | ||
</includeonly> | </includeonly> |
Latest revision as of 17:04, 27 June 2023
This is the "Ward" template.
It should be called in the following format:
{{Ward |Type= |Short= |Description= |Districts= |Factions= |Population= |Level= |OtherNames= |Denonym= |Parent= |isMaster= |headerImage= |sideImage= |sideLink= }}
Edit the page to see the template text.
This template defines the table "Wards". View table.