Template:Fates Tale: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) added support for lore pages |
Gammaton32 (talk | contribs) fixed link variable |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#ifexist: | <includeonly>{{#ifeq:{{{no_link|}}}||{{#ifexist:{{#invoke:HeroData|get_hero_var|hero_{{{1}}}|Name}}/Lore{{If lang}}|''See '''[[{{#invoke:HeroData|get_hero_var|hero_{{{1}}}|Name}}/Lore{{If lang}}]]''' for more story content.''}}}}<!-- | ||
--><div style=margin-top:10px;>{{Quotation||{{#invoke:Lang|get_string|hero_{{{1}}}_lore}}}}</div></includeonly><!-- | --><div style=margin-top:10px;>{{Quotation||{{#invoke:Lang|get_string|hero_{{{1}}}_lore}}}}</div></includeonly><!-- | ||
--><noinclude>{{Documentation}}</noinclude> | --><noinclude>{{Documentation}}</noinclude> | ||
Latest revision as of 23:59, 3 August 2026
Usage
[edit source]Template used to get a character's background from Module:Lang.
The template uses the internal name for heroes. So for example, the name "atlas" should be used instead of "abrams". Also, the first letter cannot be capitalized.
The template adds a link to the hero's Lore page, if it exists.
Examples
[edit source]{{Fates Tale|lash}}
See Lash/Lore for more story content.“Jacob Lash is an asshole.