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

From PC-BSD Wiki
Jump to: navigation, search
Line 13: Line 13:
 
===[[template:Citelink|Cite Link]]{{symbol|2}}===
 
===[[template:Citelink|Cite Link]]{{symbol|2}}===
 
: {{b|<nowiki>{{Citelink|url=</nowiki>}}complete URL{{b|<nowiki>|txt=</nowiki>}}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|{{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{{bi|<nowiki>|url=</nowiki>}}{{i|page URL}}{{b|<nowiki>|</nowiki>}}{{b|<nowiki>txt=</nowiki>}}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{{b|<nowiki>|txtAb=</nowiki>}}alternate text for abbreviated link{{b|<nowiki>}}</nowiki>}}
  
 
===[[template:Ftp|Ftp]]{{symbol|3}}===
 
===[[template:Ftp|Ftp]]{{symbol|3}}===
Line 20: Line 20:
  
 
===[[template:Highlight|Highlight]]{{symbol|4}}===
 
===[[template:Highlight|Highlight]]{{symbol|4}}===
: '''<nowiki>{{</nowiki>highlight{{pipe}}text='''''text'''''<nowiki>}}</nowiki>'''
+
: {{b|<nowiki>{{highlight|</nowiki>}}{{bi|<nowiki>text=</nowiki>}}text{{b|<nowiki>}}</nowiki>}}
 
{{highlight|blah}} -- {{highlight|text=foo}}
 
{{highlight|blah}} -- {{highlight|text=foo}}
  
Line 30: Line 30:
  
 
===[[template:Local|Local]]===
 
===[[template:Local|Local]]===
: '''<nowiki>{{local|link=</nowiki>'''''page name'''|anchor='''page sub-heading'''''|'''''alternate text'''''<nowiki>}}</nowiki>'''
+
: {{b|<nowiki>{{local|link=</nowiki>}}page name{{bi|<nowiki>|anchor=</nowiki>}}{{i|<nowiki>page sub-heading|alternate text</nowiki>}}{{b|<nowiki>}}</nowiki>}}
  
 
===[[template:NavHeader|Navigation Header]]===
 
===[[template:NavHeader|Navigation Header]]===

Revision as of 02:56, 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|url=page URL|txt=alternate text for OurInterwiki link}}
{{Citelink|shortcut|txtAb=alternate text for abbreviated link}}

Ftp3

{{ftp}}

Highlight4

{{highlight|text=text}}

blah -- foo

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