Template:Armor: Difference between revisions
Jump to navigation
Jump to search
ROWiki>Eiram No edit summary |
ROWiki>-Mongoose- test logic to allow npc to list items |
||
Line 24: | Line 24: | ||
</pre> | </pre> | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
-->{{armor/{{#switch: {{FULLPAGENAME}} | --> | ||
<!-- Only display template if fields match any query data sent --> | |||
<!-- If query data is provided {{{2}}}, check that it matches --> | |||
<!-- Otherwise, continue as normal --> | |||
{{#ifexpr: | |||
{{#if: {{{2|}}} | |||
| {{#if: {{#pos: {{{alsius|}}} | {{{2}}} }} | 1 | 0}} or | |||
{{#if: {{#pos: {{{ignis|}}} | {{{2}}} }} | 1 | 0}} or | |||
{{#if: {{#pos: {{{syrtis|}}} | {{{2}}} }} | 1 | 0}} | |||
| 1 | |||
}} | |||
| | |||
{{armor/{{#switch: {{FULLPAGENAME}} | |||
| {{{name}}} = fullpage | |||
| #default = {{#if: {{{1|}}} | {{#explode: {{{1}}} | ; }} | full}} | |||
}} | |||
| {{{1|}}} | |||
| name = {{{name}}} | |||
| type = {{{type}}} | |||
| armor = {{{armor|}}} | |||
| level = {{{level|}}} | |||
| slashing = {{{slashing|}}} | |||
--></includeonly></onlyinclude> | | piercing = {{{piercing|}}} | ||
| blunt = {{{blunt|}}} | |||
| fire = {{{fire|}}} | |||
| ice = {{{ice|}}} | |||
| lightning = {{{lightning|}}} | |||
| weight = {{{weight|}}} | |||
| bonuses = {{{bonuses|}}} | |||
| icon = {{{icon|}}} | |||
| image = {{{image|}}} | |||
| alsius = {{{alsius|}}} | |||
| ignis = {{{ignis|}}} | |||
| syrtis = {{{syrtis|}}} | |||
| notes = {{{notes|}}} | |||
}}<!-- | |||
-->}} | |||
</includeonly></onlyinclude> |
Revision as of 21:17, 14 July 2013
{{armor | {{{1|}}} | name = {{subst:PAGENAME}} | type = | armor = | level = | slashing = | piercing = | blunt = | fire = | ice = | lightning = | weight = | bonuses = | wmcoins = <!-- Obtained from: --> | alsius = | ignis = | syrtis = | notes = }}