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

From PC-BSD Wiki
Jump to: navigation, search
Line 12: Line 12:
 
/>5 - helper/modifiers}}
 
/>5 - helper/modifiers}}
 
===[[template:Citelink|Cite Link]]{{symbol|2}}===
 
===[[template:Citelink|Cite Link]]{{symbol|2}}===
: {{b|<nowiki>{{Citelink|url=</nowiki>}}complete URL'''''|txt='''''alternate text for external link{{b|<nowiki>}}</nowiki>}}
+
: {{b|<nowiki>{{Citelink|url=</nowiki>}}complete URL{{b|<nowiki>|txt=</nowiki>}}alternate text for external link{{b|<nowiki>}}</nowiki>}}
: {{b|<nowiki>{{Citelink|</nowiki>}}shortcut'''|url='''''page URL'''''|txt='''''alternate text for OurInterwiki link{{b|<nowiki>}}</nowiki>}}
+
: {{b|{{Citelink{{!}}}}shortcut{{!}}{{bi|url=}}{{i|page URL}}|{{bi|<nowiki>txt=</nowiki>}}{{i|alternate text for OurInterwiki link}}{{b|<nowiki>}}</nowiki>}}
 
: {{b|<nowiki>{{Citelink|</nowiki>}}shortcut'''|txtAb='''alternate text for abbreviated link{{b|<nowiki>}}</nowiki>}}
 
: {{b|<nowiki>{{Citelink|</nowiki>}}shortcut'''|txtAb='''alternate text for abbreviated link{{b|<nowiki>}}</nowiki>}}
  
Line 21: Line 21:
 
===[[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>'''
 +
{{highlight|blah}} -- {{highlight|text=foo}}
  
 
===[[template:Http|Http]]{{symbol|3}}===
 
===[[template:Http|Http]]{{symbol|3}}===
Line 54: Line 55:
 
===[[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'''''}}'''
 
{{refheading}}
 

Revision as of 02:38, 24 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|page URL

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 URL5

{{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}}