“模板:Subpage”的版本间的差异

来自GameWiki
跳转至: 导航搜索
 
第11行: 第11行:
 
| min-width =  {{{min-width|50}}}
 
| min-width =  {{{min-width|50}}}
 
}}
 
}}
  | <blockquote>'''''[[{{#titleparts: {{FULLPAGENAME|Name_cn}}|-1}}]]'' 的子页面.'''</blockquote> {{#ifeq: {{NAMESPACE}} | User | | [[Category:Subpages]] }} }}</includeonly><noinclude>
+
  | <blockquote>'''''[[{{#titleparts: {{FULLPAGENAME}}|-1}}]]'' 的子页面.'''</blockquote> {{#ifeq: {{NAMESPACE}} | User | | [[Category:Subpages]] }} }}</includeonly><noinclude>
  
 
==Usage==
 
==Usage==

2020年1月21日 (二) 16:28的最新版本


Usage

If you want to point out that this is a subpage of another one, just use {{subpage}}. If you want to link to a subpage, use it like this:

{{subpage|Name|Name_cn|text=Text|image=Image|width=Width|pic-align=Align|min-width=Min-width}}

Only the subpage name is mandatory.

  • Name is the name of the subpage.
  • Name_cn is the china name of the subpage.
  • Text is a small description of its contents. Usually has a humorous sentence.
  • Image is a related picture, sometimes one of the most interesting items on that subpage.
  • Width is the image's width. Default is 50px.
  • Align is the image's align. Default is center.
  • Min-width is the image's minimum width. Default is 50px.
  • tr is the translated title, and is to be only used in translations of pages. Using it outside of these will break it brilliantly.