(页面间差异)
小 (已保护“模板:WP”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))) |
小 (已保护“模板:WP/doc”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))) |
||
第1行: | 第1行: | ||
< | {{Documentation}} | ||
;Description | |||
:This template is used to reference Wikipedia pages quickly | |||
;Syntax | |||
:Type <code>{{t|WP|Wikipedia Article Name}}</code> | |||
;Sample output | |||
:<code><nowiki>{{WP|Tapir}}</nowiki></code> gives: | |||
:{{WP|Tapir}} | |||
:<code><nowiki>{{WP|text=Bartti the Tapir|Bartti_the_Tapir}}</nowiki></code> gives: | |||
:{{WP|text=Bartti the Tapir|Bartti_the_Tapir}} | |||
:<code><nowiki>{{WP|ref=no|Tapir}}</nowiki></code> gives: | |||
:{{WP|ref=no|Tapir}} | |||
:<code><nowiki>{{WP|ref=no|text=Bartti the Tapir|Bartti_the_Tapir}}</nowiki></code> gives: | |||
:{{WP|ref=no|text=Bartti the Tapir|Bartti_the_Tapir}} | |||
;Refrences | |||
<references/> |
2023年9月23日 (六) 22:37的最新版本
这是模板:WP的一个文档子页面。它包含了使用信息、分类和其他不属于 原始 template 页面.的内容
- Description
- This template is used to reference Wikipedia pages quickly
- Syntax
- Type
{{WP|<Wikipedia Article Name>}}
- Sample output
{{WP|Tapir}}
gives:- [1]
{{WP|text=Bartti the Tapir|Bartti_the_Tapir}}
gives:- [2]
{{WP|ref=no|Tapir}}
gives:- Tapir
{{WP|ref=no|text=Bartti the Tapir|Bartti_the_Tapir}}
gives:- Bartti the Tapir
- Refrences