Template:DisplayName: Difference between revisions
Created page with "<includeonly>[[{{{1}}}|{{Default|{{#show:{{{1}}}|?Display Name#-=}}|{{{1}}}}}]]</includeonly><noinclude> == Examples == <code><nowiki>{{DisplayName|Joseph Anderson}}</nowiki></code> <code><nowiki>{{DisplayName|FAITOW-chan}}</nowiki></code> == Template Data == <templatedata>{ "params": { "1": { "label": "Person/Character Page", "description": "The page for the person or character in the context.", "type": "wiki-page-name", "required": true } }, "desc..." |
No edit summary |
||
Line 2: | Line 2: | ||
== Examples == | == Examples == | ||
<code><nowiki>{{DisplayName| | <code><nowiki>{{DisplayName|Epheoko}}</nowiki></code> | ||
{{DisplayName|Epheoko}} | |||
<code><nowiki>{{DisplayName|FAITOW-chan}}</nowiki></code> | <code><nowiki>{{DisplayName|FAITOW-chan}}</nowiki></code> | ||
{{DisplayName|FAITOW-chan}} | |||
== Template Data == | == Template Data == | ||
Line 16: | Line 20: | ||
} | } | ||
}, | }, | ||
"description": "Show the display name for the given character or person, given their page.", | "description": "Show the display name for the given character or person, given their page, defaults to the given name if a page doesn't exist.", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |