Template:FamilyLink: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#get_web_data:url=https://battlemaster.org/data/character | <includeonly>{{#get_web_data:url=https://battlemaster.org/data/character/{{{1}}}/{{{2}}}|format=XML | ||
|data=Name=name,Family=family | |data=Name=name,Family=family | ||
}}{{#ifexist: {{#external_value:Family}} Family | [[{{#external_value:Family}} Family|{{#external_value:Name}} {{#external_value:Family}}]] | {{#external_value:Name}} {{#external_value:Family}}}}</includeonly><noinclude>{{Documentation}}[[Category:Utility Templates]]</noinclude> | }}{{#ifexist: {{#external_value:Family}} Family | [[{{#external_value:Family}} Family|{{#external_value:Name}} {{#external_value:Family}}]] | {{#external_value:Name}} {{#external_value:Family}}}}</includeonly><noinclude>{{Documentation}}[[Category:Utility Templates]]</noinclude> |
Latest revision as of 23:04, 26 January 2022
Template Documentation |
This documentation is transcluded from Template:FamilyLink/doc. |
IntroThis simple template takes two parameters and outputs a link to that character's family's wiki page. If the family page does not exist, then the output is only the characters full name with no link. Note: This does not link to the actual character subpage (which some players do not use), just to the main family page. Usage{{FamilyLink|World|Name}} Parameters
Notes
|