Template:Ancestry: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 2: Line 2:
{{#template_params:Name|Description|Common Heritages|Uncommon Heritages|Common Ancestry Feats|Uncommon Ancestry Feats|isMaster|headerImage}}
{{#template_params:Name|Description|Common Heritages|Uncommon Heritages|Common Ancestry Feats|Uncommon Ancestry Feats|isMaster|headerImage}}


{{#cargo_declare:_table=Ancestries|Name=String|Description=Wikitext|Heritages=Wikitext|ExtraHeritages=Wikitext|Feats=Wikitext|ExtraFeats=Wikitext}}</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Ancestries|Name={{{Name}}}|Description={{{Description}}}|Heritages={{{Heritages}}}|ExtraHeritages={{{ExtraHeritages|}}}|Feats={{{Feats}}}|ExtraFeats={{{ExtraFeats|}}} }}<yambe:breadcrumb>Ancestries</yambe:breadcrumb>{{#if:{{{headerImage|}}}|[[{{{headerImage}}}|class=fullwidth]]}}
{{#cargo_declare:_table=Ancestries|Name=String|Description=Wikitext|Heritages=Wikitext|ExtraHeritages=Wikitext|Feats=Wikitext|ExtraFeats=Wikitext}}</noinclude><includeonly>{{#if:{{{isMaster|}}}|{{#cargo_store:_table=Ancestries|Name={{{Name}}}|Description={{{Description}}}|Heritages={{{Heritages}}}|ExtraHeritages={{{ExtraHeritages|}}}|Feats={{{Feats}}}|ExtraFeats={{{ExtraFeats|}}} }}}}<yambe:breadcrumb>Ancestries</yambe:breadcrumb>{{#if:{{{headerImage|}}}|[[{{{headerImage}}}|class=fullwidth]]}}
{{#if:{{{isMaster|}}}||<h3 style="margin-top: 0em;"> {{{Name}}} [[File:Link tome.webp|25px|link={{{Name}}}]]
{{#if:{{{isMaster|}}}||<h3 style="margin-top: 0em;"> {{{Name}}} [[File:Link tome.webp|25px|link={{{Name}}}]]
  </h3>}}
  </h3>}}

Revision as of 15:42, 10 June 2023

This is the "Ancestry" template.

It should be called in the following format:

{{Ancestry
|Name=
|Description=
|Common Heritages=
|Uncommon Heritages=
|Common Ancestry Feats=
|Uncommon Ancestry Feats=
|isMaster=
|headerImage=
}}

Edit the page to see the template text.

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