Category:Largeboxes: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(New page: These are user templates fixed to a standard 350px width so they align well when many are used. If you wish to create a new largebox, please ensure it is valid: *The largebox must be 350p...)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Userboxes}}
These are user templates fixed to a standard 350px width so they align well when many are used.
These are user templates fixed to a standard 350px width so they align well when many are used.


Line 5: Line 7:
*The largebox should not have any alignment set (and therefore should appear naturally on the left)
*The largebox should not have any alignment set (and therefore should appear naturally on the left)
*The largebox may have no margins.
*The largebox may have no margins.
Ideally you should use one of the boilerplate documentation templates to document and categorize the largebox.
*Use {{tl|LargeboxDoc}} 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: {{CodeInline|<nowiki>{{{1|This user or group}}}</nowiki>}}
::{{CodeInline|<nowiki>{{LargeboxDoc}}</nowiki>}}
*Use {{tl|LargeboxDoc0}} without any parameters for any template that has no parameters.
::{{CodeInline|<nowiki>{{LargeboxDoc0}}</nowiki>}}
*Use {{tl|LargeboxDoc1}} for any largebox with one parameter. You need to give this template parameters to function:
::{{CodeInline|<nowiki>{{LargeboxDoc1|name of first variable|purpose of first variable|an example first variable}}</nowiki>}}
:or if your variable contains any code (including links)
::{{CodeInline|<nowiki>{{LargeboxDoc1|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|LargeboxDoc2}} for any largebox with two parameters. Append the second variable information to the end of the first.
*Use {{tl|LargeboxDoc3}} for any largebox with three parameters. Continue to append extra information as before.

Latest revision as of 17:10, 16 February 2010

Resources » Wiki Resources » Templates » Userboxes » Largeboxes

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

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

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

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

  • Use {{LargeboxDoc}} 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}}}
{{LargeboxDoc}}
  • Use {{LargeboxDoc0}} without any parameters for any template that has no parameters.
{{LargeboxDoc0}}
  • Use {{LargeboxDoc1}} for any largebox with one parameter. You need to give this template parameters to function:
{{LargeboxDoc1|name of first variable|purpose of first variable|an example first variable}}
or if your variable contains any code (including links)
{{LargeboxDoc1|name of first variable|purpose of first variable|<nowiki>an example first variable</nowiki>|an example first variable}}
  • Use {{LargeboxDoc2}} for any largebox with two parameters. Append the second variable information to the end of the first.
  • Use {{LargeboxDoc3}} for any largebox with three parameters. Continue to append extra information as before.