Difference between revisions of "PC-BSD® Wiki:Template QuickRef"

From PC-BSD Wiki
Jump to: navigation, search
(5 intermediate revisions by one user not shown)
Line 2: Line 2:
 
__NOTOC__
 
__NOTOC__
 
__NOEDITSECTION__
 
__NOEDITSECTION__
{{key|code|align=right|width=auto|icon64='''Bold''' - required<br />''Italic'' - variable value<br />'''''Bold Italic''''' - optional variable<br />1 - specific symbol<br />2 - two-part template<br />3 - prevents wiki parser<br />4 - adds specific style}}
+
{{key|code|align=right|width=auto|icon64='''Bold Roman''' - required<br
 +
/>Roman - required variable value<br
 +
/>''Italic'' - optional variable value<br  
 +
/>'''''Bold Italic''''' - optional variable<br  
 +
/>1 - specific symbol<br  
 +
/>2 - two-part template<br  
 +
/>3 - prevents wiki parser<br  
 +
/>4 - adds specific style<br
 +
/>5 - helper/modifiers}}
 
===[[template:Citelink|Cite Link]]{{symbol|2}}===
 
===[[template:Citelink|Cite Link]]{{symbol|2}}===
: '''<nowiki>{{Citelink|url=</nowiki>'''''complete URL'''''|txt='''''alternate text'''''}}'''
+
: '''<nowiki>{{Citelink|url=</nowiki>'''''complete URL'''''|txt='''''alternate text for external link'''''}}'''
: '''<nowiki>{{Citelink|</nowiki>'''''shortcut'''''|url='''''page URL'''''|txt='''''alternate text'''''}}'''
+
: '''<nowiki>{{Citelink|</nowiki>'''shortcut'''|url='''''page URL'''''|txt='''''alternate text for OurInterwiki link'''''}}'''
: '''<nowiki>{{Citelink|</nowiki>'''''shortcut'''''|txtAb='''''alternate text'''''}}'''
+
: '''<nowiki>{{Citelink|</nowiki>'''shortcut'''|txtAb='''alternate text for abreviated link'''}}'''
 +
{{citelink|wp|wikipedia}}<br/>
 +
{{citelink|ccby3|howbroken}}
  
 
===[[template:Ftp|Ftp]]{{symbol|3}}===
 
===[[template:Ftp|Ftp]]{{symbol|3}}===
Line 13: Line 23:
 
===[[template:Highlight|Highlight]]{{symbol|4}}===
 
===[[template:Highlight|Highlight]]{{symbol|4}}===
 
: '''<nowiki>{{</nowiki>highlight{{pipe}}text='''''text'''''<nowiki>}}</nowiki>'''
 
: '''<nowiki>{{</nowiki>highlight{{pipe}}text='''''text'''''<nowiki>}}</nowiki>'''
 +
 +
===[[template:Http|Http]]{{symbol|3}}===
 +
: '''<nowiki>{{http}}</nowiki>'''
 +
 +
===[[template:Https|Https]]{{symbol|3}}===
 +
: '''<nowiki>{{https}}</nowiki>'''
  
 
===[[template:Local|Local]]===
 
===[[template:Local|Local]]===
Line 18: Line 34:
  
 
===[[template:NavHeader|Navigation Header]]===
 
===[[template:NavHeader|Navigation Header]]===
: '''<nowiki>{{</nowiki>NavHeader|back='''''name of the previous page'''''|forward='''''name of the next page'''|custompagename='''''custom page name'''''|custompagecategory='''''custom page category'''''}}'''
+
: '''<nowiki>{{</nowiki>NavHeader|back='''''name of the previous page'''''|forward='''''name of the next page'''|custompagename='''custom page name'''|custompagecategory='''custom page category'''''}}'''
  
 
===[[template:r|Registered (superscript)]]{{symbol|1,4}}===
 
===[[template:r|Registered (superscript)]]{{symbol|1,4}}===
 
: '''<nowiki>{{r}}</nowiki>'''
 
: '''<nowiki>{{r}}</nowiki>'''
 +
 +
===[[template:Refheading|Refheading]]{{symbol|2}}===
 +
: '''<nowiki>{{refheading}}</nowiki>'''
  
 
===[[template:RM|Registered Mark]]{{symbol|1}}===
 
===[[template:RM|Registered Mark]]{{symbol|1}}===
 
: '''<nowiki>{{RM}}</nowiki>'''
 
: '''<nowiki>{{RM}}</nowiki>'''
 +
 +
===[[template:Svn|Svn]]{{symbol|3}}===
 +
: '''<nowiki>{{svn}}</nowiki>'''
  
 
===[[template:SwapTitle|Swap Title]]===
 
===[[template:SwapTitle|Swap Title]]===
 
: '''<nowiki>{{</nowiki>swapTitle{{pipe}}custompagename='''''custom page name'''''|custompagecategory='''''custom page category'''<nowiki>}}</nowiki>'''
 
: '''<nowiki>{{</nowiki>swapTitle{{pipe}}custompagename='''''custom page name'''''|custompagecategory='''''custom page category'''<nowiki>}}</nowiki>'''
 +
 +
===[[template:testLangURL|Test Lang URL]]((symbol|5}}===
 +
: '''<nowiki>{{testLangURL|</nowiki>'''es|es_ES|ca|de|eo|fr|id|it|hu|no|nl|pl|pt|pt_BR|fi|sv|is|el|ru|uk|zh|zh_TW|ko'''<nowiki>}}</nowiki>'''
  
 
===[[template:txtbox|Text Box]]===
 
===[[template:txtbox|Text Box]]===
 
:'''<nowiki>{{</nowiki>txtbox|''width='''value'''''|box='''''text in box'''|txt='''text to right of box'''''}}'''
 
:'''<nowiki>{{</nowiki>txtbox|''width='''value'''''|box='''''text in box'''|txt='''text to right of box'''''}}'''

Revision as of 23:55, 23 September 2013

PC-BSD® Wiki:Template QuickRefProtection (edit): Edited by: Tigersharke
Key: Bold Roman - required
Roman - required variable value
Italic - optional variable value
Bold Italic - optional variable
1 - specific symbol
2 - two-part template
3 - prevents wiki parser
4 - adds specific style
5 - helper/modifiers

Cite Link2

{{Citelink|url=complete URL|txt=alternate text for external link}}
{{Citelink|shortcut|url=page URL|txt=alternate text for OurInterwiki link}}
{{Citelink|shortcut|txtAb=alternate text for abreviated link}}

[1][1]
[2][2]

Ftp3

{{ftp}}

Highlight4

{{highlight|text=text}}

Http3

{{http}}

Https3

{{https}}

Local

{{local|link=page name|anchor=page sub-heading|alternate text}}

Navigation Header

{{NavHeader|back=name of the previous page|forward=name of the next page|custompagename=custom page name|custompagecategory=custom page category}}

Registered (superscript)1,4

{{r}}

Refheading2

{{refheading}}

Registered Mark1

{{RM}}

Svn3

{{svn}}

Swap Title

{{swapTitle|custompagename=custom page name|custompagecategory=custom page category}}

Test Lang URL((symbol|5}}

{{testLangURL|es|es_ES|ca|de|eo|fr|id|it|hu|no|nl|pl|pt|pt_BR|fi|sv|is|el|ru|uk|zh|zh_TW|ko}}

Text Box

{{txtbox|width=value|box=text in box|txt=text to right of box}}

Cite error: <ref> tags exist, but no <references/> tag was found