Category:Flagboxes: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Template}}
{{Userboxes}}


These are user templates fixed to a standard 250px width so they align well when many are used.
These are user templates fixed to a standard 250px width so they align well when many are used.
Line 19: Line 19:
::{{CodeInline|<nowiki>{{FlagboxDoc1|name of first variable|purpose of first variable|an example first variable}}</nowiki>}}
::{{CodeInline|<nowiki>{{FlagboxDoc1|name of first variable|purpose of first variable|an example first variable}}</nowiki>}}
:or if your variable contains any code (including links)
:or if your variable contains any code (including links)
::{{CodeInline|<nowiki>{{FlagboxDoc1|name of first variable|purpose of first variable|an example first variable surrounded by nowiki tags|an example first variable without tags}}</nowiki>}}
::{{CodeInline|<nowiki>{{FlagboxDoc1|name of first variable|purpose of first variable|&lt;nowiki&gt;an example first variable&lt;/nowiki&gt;|an example first variable}}</nowiki>}}
*Use {{tl|FlagboxDoc2}} for any flagbox with two parameters. You need to give this template parameters to function:
*Use {{tl|FlagboxDoc2}} for any flagbox with two parameters. Append the second variable information to the end of the first.
::{{CodeInline|<nowiki>{{FlagboxDoc2|name of first variable|purpose of first variable|name of second variable|purpose of second variable|an example first variable|an example second variable}}</nowiki>}}
*Use {{tl|FlagboxDoc3}} for any flagbox with three parameters. Continue to append extra information as before.
:or if any variable contains code (including links)
::{{CodeInline|<nowiki>{{FlagboxDoc2|name of first variable|purpose of first variable|name of second variable|purpose of second variable|an example first variable surrounded by nowiki tags|an example second variable surrounded by nowiki tags|an example first variable without tags|an example second variable without tags}}</nowiki>}}
*Use {{tl|FlagboxDoc3}} for any flagbox with three parameters. You need to give this template parameters to function:
::{{CodeInline|<nowiki>{{FlagboxDoc3|name of first variable|purpose of first variable|name of second variable|purpose of second variable|name of third variable|purpose of third variable|an example first variable|an example second variable|an example third variable}}</nowiki>}}
:or if any variable contains code (including links)
::{{CodeInline|<nowiki>{{FlagboxDoc3|name of first variable|purpose of first variable|name of second variable|purpose of second variable|name of third variable|purpose of third variable|an example first variable surrounded by nowiki tags|an example second variable surrounded by nowiki tags|an example third variable surrounded by nowiki tags|an example first variable without tags|an example second variable without tags|an example third variable without tags}}</nowiki>}}

Latest revision as of 16:01, 16 February 2010

Resources » Wiki Resources » Templates » Userboxes » Flagboxes

These are user templates fixed to a standard 250px width so they align well when many are used.

The boilerplate Template:Flagbox is often used to create many of these templates.

If you wish to create a new flagbox, please ensure it is valid:

  • The flagbox must be 250px wide.
  • The flagbox should not have any alignment set (and therefore should appear naturally on the left)
  • The flagbox may have no margins.

Ideally you should use one of the boilerplate documentation templates to document and categorize the flagbox.

  • Use {{FlagboxDoc}} without any parameters for any template that has "This user"/"This group"/"This user or group" in it. You should turn this text into the first parameter: {{{1|This user or group}}}
{{FlagboxDoc}}
  • Use {{FlagboxDoc0}} without any parameters for any template that has no parameters.
{{FlagboxDoc0}}
  • Use {{FlagboxDoc1}} for any flagbox with one parameter. You need to give this template parameters to function:
{{FlagboxDoc1|name of first variable|purpose of first variable|an example first variable}}
or if your variable contains any code (including links)
{{FlagboxDoc1|name of first variable|purpose of first variable|<nowiki>an example first variable</nowiki>|an example first variable}}
  • Use {{FlagboxDoc2}} for any flagbox with two parameters. Append the second variable information to the end of the first.
  • Use {{FlagboxDoc3}} for any flagbox with three parameters. Continue to append extra information as before.

Pages in category "Flagboxes"

The following 200 pages are in the current category.

(previous page) (next page)
(previous page) (next page)