Difference between revisions of "User:Anonymax/Sandbox"
Jump to navigation
Jump to search
m (→Nationality) |
m (→Nationality) |
||
Line 13: | Line 13: | ||
|id= [[Image:American flag.png|55px|American Flag]] | |id= [[Image:American flag.png|55px|American Flag]] | ||
|info= '''Americunt''': This user is an Americunt and refuses to use unnecessary vowels. Uncle Sam would be proud!}} | |info= '''Americunt''': This user is an Americunt and refuses to use unnecessary vowels. Uncle Sam would be proud!}} | ||
===Australian=== | |||
{{userbox | |||
|box-border-col= #FF0000 | |||
|box-bg-col= #00008B | |||
|id-bg-col= #00008B | |||
|id-border-col= #00008B | |||
|info-col= #fff | |||
|info-bg-col= #00008B | |||
|info-border-col = #00008B | |||
|id= [[Image:Australia-flag.png|55px|Flag of Australia]] | |||
|info= '''Australian''': This user hails from the land down under and lives in constant fear of [[PandaHalo|<span style="color: #77F">bush fires</span>]]. When the eBarrier Reef comes, this user will be unable to read the CWCki.}} | |||
===Britfag=== | ===Britfag=== | ||
{{userbox | {{userbox | ||
Line 25: | Line 35: | ||
|id= [[Image:Uk-flag.png|55px|Union Jack]] | |id= [[Image:Uk-flag.png|55px|Union Jack]] | ||
|info= '''Britfag''': I say! This user is a Britfag who, by order of The Queen (God Save Her), is required to use unnecessary vowels. Jolly good!}} | |info= '''Britfag''': I say! This user is a Britfag who, by order of The Queen (God Save Her), is required to use unnecessary vowels. Jolly good!}} | ||
===Canuckfag=== | ===Canuckfag=== | ||
{{userbox | {{userbox | ||
Line 37: | Line 46: | ||
|id= [[Image:Canada.png|55px|The Maple Leaf]] | |id= [[Image:Canada.png|55px|The Maple Leaf]] | ||
|info= '''Canuckfag''': This user hails from the Great White North and has milk in bags.<br/>Cet utilisateur est originaire du Grand Nord Blanc et a du lait dans des sacs.}} | |info= '''Canuckfag''': This user hails from the Great White North and has milk in bags.<br/>Cet utilisateur est originaire du Grand Nord Blanc et a du lait dans des sacs.}} | ||
===Eurofag=== | ===Eurofag=== | ||
{{userbox | {{userbox | ||
Line 49: | Line 57: | ||
|id= [[Image:Euroflag.png|55px|Flag of Europe]] | |id= [[Image:Euroflag.png|55px|Flag of Europe]] | ||
|info= '''Eurofag''': This user is a Eurofag and insists on using unnecessary vowels.}} | |info= '''Eurofag''': This user is a Eurofag and insists on using unnecessary vowels.}} | ||
===Mexicant=== | ===Mexicant=== | ||
{{userbox | {{userbox |
Revision as of 15:56, 29 May 2010
Userboxes
Some examples and tests of the more sensible userbox template, using existing templates for content/colours.
Nationality
Americunt
Americunt: This user is an Americunt and refuses to use unnecessary vowels. Uncle Sam would be proud! |
Australian
Australian: This user hails from the land down under and lives in constant fear of bush fires. When the eBarrier Reef comes, this user will be unable to read the CWCki. |
Britfag
Britfag: I say! This user is a Britfag who, by order of The Queen (God Save Her), is required to use unnecessary vowels. Jolly good! |
Canuckfag
Canuckfag: This user hails from the Great White North and has milk in bags. Cet utilisateur est originaire du Grand Nord Blanc et a du lait dans des sacs. |
Eurofag
Eurofag: This user is a Eurofag and insists on using unnecessary vowels. |
Mexicant
Mexicant: This user is a day laborer from Mexico who edits CWCki for 35 cents an hour. Este usuario es un jornalero de México que escribe en CWCki por 4 pesos la hora. |
Help Stuff
Templates
What are they?
Templates are a simple way to insert content in to an article without having to use a lot of Wiki markup. They are most often used for complex things like navigation boxes at the foot of articles, of fancy infoboxes.
- Templates are stored in the Template namespace e.g. Template:Captain's Log
- When a template is updated, the changes are rolled out everywhere the template is used
- They can make use of variables, to insert information in specified places in the template.
How do I use one?
Inserting a template in to an article varies according to the template being used.
- For a simple template without any parameters, you use the code {{templatename}}
- If a template has named parameters, you use the code {{templatename |paramname=Some |paramname2=Content}}
- Spaces are not needed between parameters, but can help make the template more readable to editors
- In the template code, named parameters appear as {{{varname}}}. Text you enter for that parameter will be inserted in its place.
- If the template doesn't have named parameters, any text placed after a vertical pipe | is treated as a numbered parameter: {{templatename|Some|Content}}
- In the template code, numbered parameters appear as {{{1}}}. Each subsequent pipe adds a new numbered parameter.
Be careful with pipes
Any vertical pipes placed within the template braces {{ }} will be interpreted as the start of a new parameter. If you need to insert a pipe as part of a parameter's content, use: {{!}} (Usage)