Difference between revisions of "Template:Armour add"

From Discworld MUD Wiki
Jump to: navigation, search
m (Protected "Template:Armour add": Template ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
(send Percent instead because its displayed)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
|- {{#if:{{{header|}}}|class="unsortable"|}}
+
{{!}}- {{#if:{{{header|}}}|class="unsortable"|}}
 
{{#if:{{{header|}}}|
 
{{#if:{{{header|}}}|
! Armour
+
! {{#switch: {{#ifeq:{{{pagetype|}}}||{{#titleparts: {{PAGENAME}} | 1 | 1 }}|{{#titleparts: {{{pagetype|}}} | 1 | 1 }} }}
{{Armour line|header=yes}}
+
| Shield
 +
| Endorphin's Floating Friend = Shield
 +
| #default = Armour
 +
}}
 +
{{Armour line|header=yes|pagetype={{#titleparts: {{{pagetype|}}} | 1 | 1 }}|Percent={{#ifeq:{{{pagetype|}}}||{{#titleparts: {{PAGENAME}}/0 | 1 | 2 }}|{{#titleparts: {{{pagetype|}}}/0 | 1 | 2}} }} }}
 
|
 
|
 
{{!}} [[{{{1|}}}{{#if:{{{2|}}}|{{!}}{{{2|}}}|}}]]
 
{{!}} [[{{{1|}}}{{#if:{{{2|}}}|{{!}}{{{2|}}}|}}]]
{{:{{{1|}}}}}
+
{{:{{{1|}}}|pagetype={{{pagetype|}}}}}
 
}}<noinclude><br style="clear:both;" />
 
}}<noinclude><br style="clear:both;" />
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 13:25, 13 July 2020

|- | [[]] {{:|pagetype=}}

[edit]

Documentation