Template:Person: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Titles|Leader|Aliases|Gender|Race|Deity|Allegiance|Born|Description|History|Relationships}}
{{#template_params:Titles|Leader|Aliases|Gender|Race|Deity|Allegiance|Born|Description|History|Relationships}}
{{#cargo_declare:_table=Persons|Titles=Wikitext|Leader=Wikitext|Aliases=List (,) of Wikitext|Gender=String|Race=Wikitext|Deity=Wikitext|Allegiance=Wikitext|Born=Wikitext|Description=Wikitext|History=Wikitext|Relationships=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>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Persons|Name={{SUBPAGENAME}}}}
</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Persons|Name={{SUBPAGENAME}}}}
<yambe:breadcrumb>People</yambe:breadcrumb>}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
<yambe:breadcrumb>People</yambe:breadcrumb>}}{{#if:{{{headerImage|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
Line 7: Line 7:
<navigation>
<navigation>
<h3>{{PAGENAME}}</h3>
<h3>{{PAGENAME}}</h3>
{{#if:{{{sideImage|}}}|[[Image:{{{sideImage}}}|class=fullwidth]]}} {{#if:{{{Title|}}}{{{Aliases|}}}{{{Race|}}}{{{Born|}}}{{{Gender|}}}|<p class="infoboxHeader">Basic information</p>}} {{InfoBoxRowList|{{{Title|}}}}} {{InfoBoxRowList|{{{Aliases|}}}}} {{Gender|{{{Gender|}}}}} {{Race|{{{Race|}}}}} {{Born|{{{Born|}}}}} {{#if:{{{Leader|}}}{{{Allegiance|}}}{{{Deity|}}}|<p class="infoboxHeader">Relations</p>}} {{InfoBoxRow|{{{Leader|}}}|Leader Of}} {{InfoBoxRowList|{{{Allegiance|}}}}} {{InfoBoxRowList|{{{Deity|}}}|Patron deity}}
{{#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>
</navigation>
</infobox>}}
</infobox>}}

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.