Template:Ancestry: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Name|Description|Common Heritages|Uncommon Heritages|Common Ancestry Feats|Uncommon Ancestry Feats}}
{{#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>{{#cargo_store:_table=Ancestries|Name={{{Name}}}|Description={{{Description}}}|Heritages={{{Heritages}}}|ExtraHeritages={{{ExtraHeritages|}}}|Feats={{{Feats}}}|ExtraFeats={{{ExtraFeats|}}} }}{{#if:{{{isMaster|}}}|<yambe:breadcrumb>Ancestries</yambe:breadcrumb>}}
{{#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|}}}|[[File:{{{headerImage}}}|class=fullwidth]]}}
<h3 style="margin-top: 0em;"> [[{{{Name}}}]] </h3>
{{#if:{{{isMaster|}}}||<h3 style="margin-top: 0em;"> {{{Name}}} [[File:Link tome.webp|25px|link={{{Name}}}]]
</h3>}}
{{{Description}}}
{{{Description}}}


'''Common Heritages:''' {{{Heritages}}}
'''Common Heritages:''' {{{Heritages}}}
{{#if:{{{ExtraHeritages|}}}|<br>{{{ExtraHeritages}}}
{{#if:{{{ExtraHeritages|}}}|
* {{{ExtraHeritages}}}


<wbr>}}
<wbr>}}
'''Common Ancestry Feats:''' {{{Feats}}}
'''Common Ancestry Feats:''' {{{Feats}}}
{{#if:{{{ExtraFeats|}}}|<br>{{{ExtraFeats}}}}}
{{#if:{{{ExtraFeats|}}}|
* {{{ExtraFeats}}}}}


[[Category:Ancestries]]</includeonly>
[[Category:Ancestries]]</includeonly>

Latest revision as of 15:44, 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.