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

From PC-BSD Wiki
Jump to: navigation, search
 
(3 intermediate revisions by one user not shown)
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|<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{{bi|<nowiki>|url=</nowiki>}}{{i|page URL}}{{b|<nowiki>|</nowiki>}}{{b|<nowiki>txt=</nowiki>}}alternate text for {{local|link=template:OurInterwiki|OurInterwiki}} link{{b|<nowiki>}}</nowiki>}}
 
: {{b|<nowiki>{{Citelink|</nowiki>}}shortcut{{b|<nowiki>|txtAb=</nowiki>}}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:Danger|Danger]]===
 
===[[template:Danger|Danger]]===
: {{b|<nowiki>{{danger|</nowiki>}}{{bi|<nowiki>width=</nowiki>}}{{i|size of box in px or % of page}}{{bi|<nowiki>|align=</nowiki>}}{{i|left or right}}{{bi|<nowiki>|icon64=</nowiki>}}text{{b|<nowiki>}}</nowiki>}}
+
: {{b|<nowiki>{{danger|</nowiki>}}{{bi|<nowiki>icon64=</nowiki>}}text{{b|<nowiki>}}</nowiki>}}
  
 
===[[template:Ftp|Ftp]]{{symbol|3}}===
 
===[[template:Ftp|Ftp]]{{symbol|3}}===
Line 36: Line 36:
  
 
===[[template:Local|Local]]===
 
===[[template:Local|Local]]===
: {{b|<nowiki>{{local|link=</nowiki>}}page name{{bi|<nowiki>|anchor=</nowiki>}}{{i|page sub-heading}}{{b|<nowiki>|</nowiki>}}{{i|alternate text}}{{b|<nowiki>}}</nowiki>}}
+
: {{b|<nowiki>{{local|link=</nowiki>}}page name{{bi|<nowiki>|anchor=</nowiki>}}{{i|page sub-heading but without the #}}{{b|<nowiki>|</nowiki>}}{{i|alternate text}}{{b|<nowiki>}}</nowiki>}}
  
 
===[[template:NavHeader|Navigation Header]]===
 
===[[template:NavHeader|Navigation Header]]===
: {{b|<nowiki>{{NavHeader|back=</nowiki>}}name of the previous page{{b|<nowiki>|forward=</nowiki>}}name of the next page{{bi|<nowiki>|custompagename=</nowiki>}}{{i|custom page name}}{{bi|<nowiki>|custompagecategory=</nowiki>}}{{i|custom page category}}{{b|<nowiki>}}</nowiki>}}
+
: {{b|<nowiki>{{UseTOC{{putVers}}</nowiki>}}{{bi|<nowiki>|title=</nowiki>}}{{i|including lowercase initial word or special registered character{{RM}} via <nowiki>{{r}}</nowiki>{{b|<nowiki>}}</nowiki>}}}}
  
 
===[[template:Nbsp|Nbsp]]{{symbol|5}}===
 
===[[template:Nbsp|Nbsp]]{{symbol|5}}===
Line 45: Line 45:
  
 
===[[template:Note|Note]]===
 
===[[template:Note|Note]]===
: {{b|<nowiki>{{note|</nowiki>}}{{bi|<nowiki>width=</nowiki>}}{{i|size of box in px or % of page}}{{bi|<nowiki>|align=</nowiki>}}{{i|left or right}}{{bi|<nowiki>|icon64=</nowiki>}}text{{b|<nowiki>}}</nowiki>}}
+
: {{b|<nowiki>{{note|</nowiki>}}{{bi|<nowiki>icon64=</nowiki>}}text{{b|<nowiki>}}</nowiki>}}
 +
 
 +
===[[template:pcbsd|PC-BSD]]{{symbol|5}}===
 +
: {{b|<nowiki>{{pcbsd}}</nowiki>}} (Rendered with a non-breaking dash)
  
 
===[[template:Orangelight|Orangelight]]{{symbol|4}}===
 
===[[template:Orangelight|Orangelight]]{{symbol|4}}===
Line 66: Line 69:
  
 
===[[template:SwapTitle|Swap Title]]===
 
===[[template:SwapTitle|Swap Title]]===
: {{b|<nowiki>{{swapTitle|custompagename=</nowiki>}}custom page name{{bi|<nowiki>|custompagecategory=</nowiki>}}{{i|custom page category}}{{b|<nowiki>}}</nowiki>}}
+
: {{b|<nowiki>{{swapTitle|title=</nowiki>}}custom page name{{b|<nowiki>}}</nowiki>}}
  
 
===[[template:tbl-init|Tbl-init]]{{symbol|2}}===
 
===[[template:tbl-init|Tbl-init]]{{symbol|2}}===
Line 84: Line 87:
  
 
===[[template:Warning|Warning]]===
 
===[[template:Warning|Warning]]===
: {{b|<nowiki>{{warning|</nowiki>}}{{bi|<nowiki>width=</nowiki>}}{{i|size of box in px or % of page}}{{bi|<nowiki>|align=</nowiki>}}{{i|left or right}}{{bi|<nowiki>|icon64=</nowiki>}}text{{b|<nowiki>}}</nowiki>}}
+
: {{b|<nowiki>{{warning|</nowiki>}}{{bi|<nowiki>icon64=</nowiki>}}text{{b|<nowiki>}}</nowiki>}}

Latest revision as of 22:08, 19 December 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}}

Danger

{{danger|icon64=text}}

Ftp3

{{ftp}}

GroupListHeading2

{{GroupListHeading|group=tables}}
tables is one grouplist item but this template is not yet localization friendly and will be adjusted transparently in the future.

Highlight4

{{highlight|text=text}}

Http3

{{http}}

Https3

{{https}}

Local

{{local|link=page name|anchor=page sub-heading but without the #|alternate text}}

Navigation Header

{{UseTOC{{putVers}}|title=including lowercase initial word or special registered character® via {{r}}}}

Nbsp5

{{nbsp|number of non-breaking spaces or default of 1}}

Note

{{note|icon64=text}}

PC-BSD5

{{pcbsd}} (Rendered with a non-breaking dash)

Orangelight4

{{orangelight|text=text}}

Redlight4

{{redlight|text=text}}

Refheading2

{{refheading}}

Registered (superscript)1,4

{{r}}

Registered Mark1

{{RM}}

Svn3

{{svn}}

Swap Title

{{swapTitle|title=custom page name}}

Tbl-init2

{{tbl-init|caption=The caption in bold above the table and added to grouplist under GroupListHeading}}
!column title bold text on manilla
|-
|
This odd content row will be white
|-
|
This even content row will be grey
|}

Test Lang URL5

{{testLangURL|series|of|iso|codes|for|localized|external|site|defines|languages|it|has|available}}

Text Box

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

Warning

{{warning|icon64=text}}
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox