テンプレート:Template link
ナビゲーションに移動
検索に移動
This template is used to easily link to a template, while displaying the template brackets.
Usage[ソースを編集]
{{tl|template name|subst=subst or don't subst|code=yes or no}}
template name can be any page, using the same conventions as transclusion. Basically the "Template:" prefix is optional, and a colon is required to link the main space.
Parameters can also be added, to a maximum of 8. Note that =
's must be escaped using {{=}}
The |subst=
parameter will determine whether the template link will display as a substed template or not. If the subst parameter is set, it will display the word "subst:" in front of the template link.
Set |code=
to no to disable code formatting.
Examples[ソースを編集]
{{tl|OS}}
→{{OS}}
{{tl|Template:Welcome|subst=yes}}
→{{subst:Template:Welcome}}
{{tl|:Spawner/BE}}
→{{ :Spawner/BE}}
{{tl|move|Page to move to|Optional reason}}
→{{move|Page to move to|Optional reason}}
{{tl|uw-vandalism|Minecraft|subst=1}}
→{{subst:Uw-vandalism|Minecraft}}
See also[ソースを編集]
{{TemplateCode}}
{{parameter}}
[閲覧 | 編集 | 履歴 | キャッシュ破棄]上記の記事は次のページから転記しています: テンプレート:Template link/doc.