mNo edit summary |
(Blanked the page) Tags: Blanking Visual edit |
||
(17 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#vardefineecho:reallylongvar|12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890}} |
||
− | {{#vardefine:variable_ship|Akira Heavy Escort}} |
||
− | {{#vardefine:variable_cost|{{#cargo_query: |
||
− | |tables=Ships |
||
− | |fields=Ships.cost |
||
− | |where=Ships._pageName="{{#var:variable_ship}}" |
||
− | |format=list}}}} |
||
− | {{#var:variable_cost}}<br>{{#var:classcost}}{{#var:classcost}}{{#var:classcost}} |
||
− | <hr> |
||
− | Here is the result when the input is entered via a variable: |
||
− | {{formatnum:{{#ifeq: {{#var:variable_cost}} | 1;LB | {{LB}} | {{#ifeq: {{#var:variable_cost}} | 1;PPP | {{PPP}} | {{#ifeq: {{#var:variable_cost}} | 1;R&D | {{PRDP}} | {{#listmap: |
||
− | |list={{#var:variable_cost}} |
||
− | |insep=\_•\_ |
||
− | |outsep= • |
||
− | |token=$1,$2 |
||
− | |tokensep=, |
||
− | |fieldsep=; |
||
− | |pattern=<esc>$1 {{Template:$2}}</esc> |
||
− | }} }} }} }} }} |
||
− | <hr> |
||
− | Here is the result when the same input is entered manually: |
||
− | {{formatnum:{{#ifeq: 5000;dil • 1;SRFED3 | 1;LB | {{LB}} | {{#ifeq: 5000;dil • 1;SRFED3 | 1;PPP | {{PPP}} | {{#ifeq: 5000;dil • 1;SRFED3 | 1;R&D | {{PRDP}} | {{#listmap: |
||
− | |list=5000;dil • 1;SRFED3 |
||
− | |insep=\_•\_ |
||
− | |outsep= • |
||
− | |token=$1,$2 |
||
− | |tokensep=, |
||
− | |fieldsep=; |
||
− | |pattern=<esc>$1 {{Template:$2}}</esc> |
||
− | }} }} }} }} }} |
||
− | <!-- |
||
− | |||
− | other junk |
||
− | |||
− | |||
− | {{#cargo_query: |
||
− | |tables=Ships |
||
− | |fields=Ships.cost |
||
− | |where=Ships._pageName="Akira Heavy Escort" |
||
− | |format=list |
||
− | }} |
||
− | {{#uesc:{\{#cargo_query: |
||
− | \!tables=Ships |
||
− | \!fields=Ships.cost |
||
− | \!where=Ships._pageName="Akira Heavy Escort" |
||
− | \!format=list |
||
− | }\} |
||
− | --> |
||
− | |||
− | |||
− | {{#invoke:Cargo|query|tables=Infobox|fields=who|where=Infobox.name = "Hangar - Stalker Fighter Squadron"|template=Hangarpetrow}} |
||
− | ==Tabber tag== |
||
− | {{#vardefine:scorpionR|1}}{{#vardefine:scorpionVR|0}}{{#vardefine:scorpionUR|1}} |
||
− | <nowiki>{{#vardefine:scorpionR|1}}{{#vardefine:scorpionVR|0}}{{#vardefine:scorpionUR|1}}</nowiki> |
||
− | *scorpionR: {{#var:scorpionR}} |
||
− | *scorpionVR: {{#var:scorpionVR}} |
||
− | *scorpionUR: {{#var:scorpionUR}} |
||
− | {{#tag:tabber| |
||
− | {{#ifeq:{{#var:scorpionR}}|1|{{!}}-{{!}}Rare=true|<!--false-->}} |
||
− | {{#ifeq:{{#var:scorpionVR}}|1|{{!}}-{{!}}Very Rare=true|<!--false-->}} |
||
− | {{#ifeq:{{#var:scorpionUR}}|1|{{!}}-{{!}}Ultra Rare=true|<!--false-->}} |
||
− | }} |
||
− | |||
− | ====tier 1==== |
||
− | {{Playableshipsbytype|tier=1|factioncode=D}} |
||
− | {{Playableshipsbytype|name=Jem'Hadar Fighter}} |
||
− | |||
− | ====tier 5==== |
||
− | {{Playableshipsbytype|tier=5|factioncode=D}} |
||
− | {{Playableshipsbytype|name=Jem'Hadar Escort}} |