Template:Fates Tale: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
added support for lore pages
adjust see also
Line 1: Line 1:
<includeonly>{{#ifexist:[[{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|Name}}/Lore{{If lang}}]]|''See full lore at [[{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|Name}}/Lore{{If lang}}]].''}}<!--
<includeonly>{{#ifexist:{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|Name}}/Lore{{If lang}}|''See [[{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|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>

Revision as of 15:29, 17 May 2026

Template documentation [view] [edit] [history] [purge]

Usage

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

{{Fates Tale|lash}}
Jacob Lash is an asshole.