Difference between revisions of "User:Tigersharke/sandbox"

From PC-BSD Wiki
Jump to: navigation, search
Line 11: Line 11:
  
 
===Active===
 
===Active===
These require that a value be passed to the template to allow for a localization effect.
+
:These require that a value be passed to the template to allow for a localization effect.
* Template:Citelink
+
:* Template:Citelink
  
 
===Transparent===
 
===Transparent===
Using these templates will automagically provide a localized result. They need not be adjusted or translated, though they may replace the standard wiki markup method for a similar effect.
+
:Using these templates will automagically provide a localized result. They need not be adjusted or translated, though they may replace the standard wiki markup method for a similar effect.
 
====template:local====
 
====template:local====
Provides a method to localize internal links.
+
::Provides a method to localize internal links.
:'''<nowiki>{{local|link=</nowiki>'''''page name'''''<nowiki>}}</nowiki>'''  
+
::'''<nowiki>{{local|link=</nowiki>'''''page name'''''<nowiki>}}</nowiki>'''  
:'''<nowiki>{{local|link=</nowiki>'''''page name'''''|'''''alternate text'''''<nowiki>}}</nowiki>'''
+
::'''<nowiki>{{local|link=</nowiki>'''''page name'''''|'''''alternate text'''''<nowiki>}}</nowiki>'''
:'''<nowiki>{{local|link=</nowiki>'''''page name'''''|anchor='''''page sub-heading'''''|'''''alternate text'''''<nowiki>}}</nowiki>'''
+
::'''<nowiki>{{local|link=</nowiki>'''''page name'''''|anchor='''''page sub-heading'''''|'''''alternate text'''''<nowiki>}}</nowiki>'''
  
 
===Two-part===
 
===Two-part===
These templates require a secondary template (such as those below) to be complete and fully functional.
+
:These templates require a secondary template (such as those below) to be complete and fully functional.
  
* Template:Note
+
:* Template:Note
* Template:Warning
+
:* Template:Warning
* Template:Danger
+
:* Template:Danger
  
 
===Translated words and phrases===
 
===Translated words and phrases===
Some templates that may otherwise be automatic may yet require transcluded elements to be localized separately.
+
:Some templates that may otherwise be automatic may yet require transcluded elements to be localized separately.
  
* Template:Word-note
+
:* Template:Word-note
* Template:Word-warning
+
:* Template:Word-warning
* Template:Word-danger
+
:* Template:Word-danger
* Template:Word-references
+
:* Template:Word-references
  
 
===unsorted===
 
===unsorted===
* Template:ExcludeLang
+
:* Template:ExcludeLang
* Template:GroupList
+
:* Template:GroupList
* Template:GroupListHeading
+
:* Template:GroupListHeading
* Template:OurInterwiki
+
:* Template:OurInterwiki
* Template:Refheading
+
:* Template:Refheading
* Template:SwapTitle
+
:* Template:SwapTitle
* Template:Tbl-init
+
:* Template:Tbl-init

Revision as of 01:01, 9 September 2013

Contents

Editing the wiki

Translation

Templates that facilitate localization

Active

These require that a value be passed to the template to allow for a localization effect.
  • Template:Citelink

Transparent

Using these templates will automagically provide a localized result. They need not be adjusted or translated, though they may replace the standard wiki markup method for a similar effect.

template:local

Provides a method to localize internal links.
{{local|link=page name}}
{{local|link=page name|alternate text}}
{{local|link=page name|anchor=page sub-heading|alternate text}}

Two-part

These templates require a secondary template (such as those below) to be complete and fully functional.
  • Template:Note
  • Template:Warning
  • Template:Danger

Translated words and phrases

Some templates that may otherwise be automatic may yet require transcluded elements to be localized separately.
  • Template:Word-note
  • Template:Word-warning
  • Template:Word-danger
  • Template:Word-references

unsorted

  • Template:ExcludeLang
  • Template:GroupList
  • Template:GroupListHeading
  • Template:OurInterwiki
  • Template:Refheading
  • Template:SwapTitle
  • Template:Tbl-init
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox