Template:Main/doc: Difference between revisions
From Postal Wiki
Create |
m fix error |
||
| Line 4: | Line 4: | ||
#Parameter1 is the name of item or category. | #Parameter1 is the name of item or category. | ||
#Parameter2 is alternative text | #Parameter2 is the alternative text. If empty, it will display content in Parameter1. | ||
== | ==Example== | ||
<code><nowiki>{{Main|List of Currently Effective Postal-Related Rules and Regulations in P.R.C.|List of Postal-Related Rules and Regulations}}</nowiki></code>{{Main|List of Currently Effective Postal-Related Rules and Regulations in P.R.C.|List of Postal-Related Rules and Regulations}} | <code><nowiki>{{Main|List of Currently Effective Postal-Related Rules and Regulations in P.R.C.|List of Postal-Related Rules and Regulations}}</nowiki></code>{{Main|List of Currently Effective Postal-Related Rules and Regulations in P.R.C.|List of Postal-Related Rules and Regulations}} | ||
| Line 13: | Line 13: | ||
<code><nowiki>{{Main|Wiki:About}}</nowiki></code>{{Main|Wiki:About}} | <code><nowiki>{{Main|Wiki:About}}</nowiki></code>{{Main|Wiki:About}} | ||
== | ==Referemce== | ||
[ | [https://en.wikipedia.org/wiki/Template:Main Template:Main]<includeonly></includeonly> | ||
[[zh:模板:Main]] | |||
Revision as of 06:34, 1 November 2025
This template is used for creating a link to a designated item or category.
Structure
{{Main|Parameter1|Parameter2}}
- Parameter1 is the name of item or category.
- Parameter2 is the alternative text. If empty, it will display content in Parameter1.
Example
{{Main|List of Currently Effective Postal-Related Rules and Regulations in P.R.C.|List of Postal-Related Rules and Regulations}}
{{Main|Category:Template Document}}
- MainCategory: Category:Template Document
{{Main|Wiki:About}}
- MainPage: Wiki:About
