Template:Cname

From FHX Wiki
Revision as of 22:51, 26 June 2024 by Ryzuhr (talk | contribs) (Created page with "<noinclude>{{page warning|message=This template is in draft.}}</noinclude><includeonly>{{#if: {{{1|}}}|{{#vardefine:smw_name|{{#show:{{{1|}}}|?Has canonical name}}}}{{#if:{{#var:smw_name}}|[[{{{1}}}|{{#var:smw_name}}]]|[[{{ucfirst:{{{1}}}}}]]}}}}</includeonly><noinclude> == Usage == Link to an article using Property:Has canonical name. Having no canonical name will default to the using the article name. <pre> {{cname|<article>}} </pre> == Parameters == ;1 ''(unnamed...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Warning:
This template is in draft.

Usage

Link to an article using Property:Has canonical name. Having no canonical name will default to the using the article name.

{{cname|<article>}}

Parameters

1 (unnamed parameter)
Required. Article name.

Example

{{cname|Armor}}

{{#vardefine:smw_name|{{#show:Armor|?Has canonical name}}}}{{#var:smw_name}}

{{cname|Hammer (skill)}}

{{#vardefine:smw_name|{{#show:Hammer (skill)|?Has canonical name}}}}{{#var:smw_name}}