User:Mtew/templates/Formats/defs
From Guild Wars Wiki
Jump to navigationJump to search
| | | General | | | Talk | | | Characters | | | Diaries | | | Projects | | My templates | | Special Pages | |
---|
| | | Page Navigation | | | Quest Progress | | Standard Formats |
---|
| LocLegend | | | Cat all values | | | Five Rows of Four | | | 100 Rows of Four | | | For all 1's Digits | | | For all 10's Digits | | | For all 100's Digits | |
---|
|
| For all Guideline Items | |
---|
| | sample /defs | | Format Rewards | | | Format Environment Changes | | | Format Requirements | |
---|
Code[edit]
{{#switch:{{lc:{{{1|}}}}}
| item = value
| #default = {{{2|{{{1|}}}}}}
}}
NOTE[edit]
The code displayed when viewing this page is what is needed functionally and provides excellent documentation of what a page should contain. However, to make the code appear as it does here, this page should be 'edited', and the entire contents copied to the new page to get the framework for the new page.
You may want to remove the navigation tabs at the top of the page. If you do not, you will need to replace the base page reference. There is a HTML comment containing the 'magic word's needed to fill in the correct information.
Parameters[edit]
- unnamed parameter 1 – item
- Required. The name of the item to be defined.
- unnamed parameter 2 – default value
- Optional. The value to be used if the item is not defined. If no default value is provided, the item name is returned.
See Also[edit]
Template:defs — templete to fetch a locally defined item value.