Template:ListItem: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(standardized item template for skill lists (climbing, swimming, etc))
 
m (Removed spaces in the hope of tracking down a bug)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>|-
|{{#if:{{{2|}}}|{{{2}}}|''Oops! I have no name!''}}
|-
| {{#if: {{{Item|}}} | {{{Item}}} | ''Oops! I have no name!'' }}
|{{#if:{{{3|}}}|{{{3}}}|''Oops! I have no location!''}}
| {{#if: {{{Location|}}} | {{{Location}}} | ''Oops! I have no location!'' }}
|{{#if:{{{4|}}}|{{{4}}}|''unknown''}}
| {{#if: {{{Bottom|}}} | {{{Bottom}}} | ''unknown'' }}
{{#ifeq:{{lc:{{{1}}} }}|climbing|{{!}}{{#if:{{{5|}}}|{{{5}}}|''unknown''}}|}}
{{#ifeq: {{lc:{{{ListType}}} }} | climbing | {{!}} {{#if: {{{Weapon|}}} | {{{Weapon}}} | ''unknown'' }} | }}
|{{#if:{{{6|}}}|{{{6}}}|''unknown''}}
| {{#if: {{{Top|}}} | {{{Top}}} | ''unknown'' }}
|{{#if:{{{7|}}}|{{{7}}}|}}
| {{#if: {{{Notes|}}} | {{{Notes}}} | }}
|-
|-
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<pre>
<pre>
{{ListItem|skillname|item|location|bottom cap|weapon|top cap|notes}}
{{ListItem|
ListType = Climbing/Swimming/etc |
Item = whatever |
Location = someplace |
Bottom = number |
Top = number |
Notes = special feature |
Weapon = number |
}}
</pre>
</pre>


*'''ListType''' must be filled in using skill name (it's mostly there for the editors, also is used to determine validity of Weapon and other list-specific items). Case doesn't matter.
*'''skillname''' must be filled in using skill name (it's mostly there for the editors, also is used to determine validity of weapon and other list-specific items). Case doesn't matter.
*Leave other items blank if unknown or not used
*Leave other items blank if unknown or not used
*'''Weapon''' is specific to climbing, denotes the point at which holding a weapon or shield will increase learning for you
*'''weapon''' is specific to climbing, denotes the point at which holding a weapon or shield will increase learning for you
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
[[Category:Templates]]

Latest revision as of 21:24, 27 May 2008


{{ListItem|skillname|item|location|bottom cap|weapon|top cap|notes}}
  • skillname must be filled in using skill name (it's mostly there for the editors, also is used to determine validity of weapon and other list-specific items). Case doesn't matter.
  • Leave other items blank if unknown or not used
  • weapon is specific to climbing, denotes the point at which holding a weapon or shield will increase learning for you