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

From PC-BSD Wiki
Jump to: navigation, search
Line 9: Line 9:
 
/>2 - two-part template<br  
 
/>2 - two-part template<br  
 
/>3 - prevents wiki parser<br  
 
/>3 - prevents wiki parser<br  
/>4 - adds specific style}}
+
/>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 for external link'''''}}'''
 
: '''<nowiki>{{Citelink|url=</nowiki>'''''complete URL'''''|txt='''''alternate text for external link'''''}}'''
: '''<nowiki>{{Citelink|</nowiki>'''''shortcut'''''|url='''''page URL'''''|txt='''''alternate text for OurInterwiki link'''''}}'''
+
: '''<nowiki>{{Citelink|</nowiki>'''shortcut'''|url='''''page URL'''''|txt='''''alternate text for OurInterwiki link'''''}}'''
: '''<nowiki>{{Citelink|</nowiki>'''''shortcut'''''|txtAb='''''alternate text for abreviated link'''''}}'''
+
: '''<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 47: Line 50:
 
===[[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 22: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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox