Template:Person: Difference between revisions

Template page
No edit summary
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Titles}}
{{#template_params:Titles|Leader|Aliases|Gender|Race|Deity|Allegiance|Born|Description|History|Relationships}}
{{#cargo_declare:_table=Persons|Titles=Wikitext}}
{{#cargo_declare:_table=Persons|Name=String|Titles=Wikitext|Leader=Wikitext|Aliases=List (,) of Wikitext|Gender=String|Race=Wikitext|Deity=Wikitext|Allegiance=Wikitext|Born=Wikitext|Description=Wikitext|History=Wikitext|Relationships=Wikitext}}
</noinclude><includeonly>{{#cargo_store:_table=Persons}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Persons|Name={{SUBPAGENAME}}}}
{{#template_display:_format=standard}}
<yambe:breadcrumb>People</yambe:breadcrumb>}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
{{#if:{{{isMaster|}}}|<infobox layout="stacked">
<navigation>
<h3>{{PAGENAME}}</h3>
{{#if:{{{sideImage|}}}|[[Image:{{{sideImage}}}|class=fullwidth]]}} {{#if:{{{Title|}}}{{{Aliases|}}}{{{Race|}}}{{{Born|}}}{{{Gender|}}}|<p class="infoboxHeader">Basic information</p>}} {{InfoBoxRowList|{{{Title|}}}|Title}} {{InfoBoxRowList|{{{Aliases|}}}|Aliases}} {{InfoBoxRow|{{{Gender|}}}|Gender}} {{InfoBoxRow|{{{Race|}}}|Race}} {{InfoBoxRow|{{{Born|}}}|Born}} {{#if:{{{Leader|}}}{{{Allegiance|}}}{{{Deity|}}}|<p class="infoboxHeader">Relations</p>}} {{InfoBoxRow|{{{Leader|}}}|Leader Of}} {{InfoBoxRow|{{{Allegiance|}}}|Allegiance}} {{InfoBoxRow|{{{Deity|}}}|Patron deity}}
</navigation>
</infobox>}}
{{#if:{{{isMaster|}}}||<h3 style="margin-top: 0em;"> {{{Name}}} [[File:Link tome.webp|25px|link={{{Name}}}]]
</h3>}}
{{{Description}}}{{#if:{{{isMaster|}}}|{{#if:{{{History|}}}|<h3>History</h3>{{{History}}}}}{{#if:{{{Relationships|}}}|<h3>Relationships</h3>{{{Relationships}}}}}}}
[[Category:People]]
[[Category:People]]
</includeonly>
</includeonly>

Latest revision as of 11:56, 11 June 2023

This is the "Person" template.

It should be called in the following format:

{{Person
|Titles=
|Leader=
|Aliases=
|Gender=
|Race=
|Deity=
|Allegiance=
|Born=
|Description=
|History=
|Relationships=
}}

Edit the page to see the template text.

This template defines the table "Persons". View table.