Difference between revisions of "User:Wantok/sandbox"
(add link colour test text paras) |
(update template name) |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | <div style="text-align:right">'''Test case for [[Template:Infobox AH Aircraft]]'''</div> | |
| − | + | {{Infobox AH Aircraft | |
| + | |name =P38-L | ||
| + | |image =P38l.jpg | ||
| + | |type =Fighter/attacker | ||
| + | |variantof =[[P-38 Lightning]] | ||
| + | |country =USA | ||
| + | |manufacturer =Lockheed | ||
| + | |crew =Single-seat | ||
| + | |wingspan =52' | ||
| + | |length =37'10" | ||
| + | |height =9'10" | ||
| + | |internalfuel =410 gallons | ||
| + | |loadout1-1 =4x [[M2 Browning machine gun|.50 Cal M2]] 500 rpg | ||
| + | |loadout1-2 =1x 20 mm M2 150 rpg | ||
| + | |loadout2-1 =4x [[M2 Browning machine gun|.50 Cal M2]] 200 rpg | ||
| + | |loadout2-2 =1x 20 mm M2 150 rpg | ||
| + | |options1 =10x HVAR 5" Rockets | ||
| + | |options2 =2x 250 lb bombs | ||
| + | |options3 =2x 500 lb bombs | ||
| + | |options4 =2x 1,000 lb bombs | ||
| + | |options5 =2x 150 gallon drop tanks | ||
| + | |options6 =1x 150 gallon drop tank | ||
| + | |options7 =1x 1K bomb + 1 drop tank | ||
| + | |earliestMA =[[Late war]] | ||
| + | |perkcost =0 | ||
| + | |LWENY =20 | ||
| + | |carrier =no | ||
| + | }} | ||
| + | '''Link colours:''' | ||
| − | + | <div style="width:35em">Here's some text against the normal darker background that includes an [[Cloud Editor|unvisited link]] or [[Cloud Editor|two]] and also a link to a [[blah|non-existent page]] as well as a link to a [[Aircraft of Aces HighII|visited page]], and [[Aircraft of Aces HighII|another one]]. Oh, and don't forget the [http://www.hitechcreations.com/ external link] too. | |
| − | + | <div style="background-color:#FFFFEA;border:1px solid #000000;padding:0.7em">Here's some text against the lighter background that includes an [[Cloud Editor|unvisited link]] or [[Cloud Editor|two]] and also a link to a [[blah|non-existent page]] as well as a link to a [[Aircraft of Aces HighII|visited page]], and [[Aircraft of Aces HighII|another one]]. Oh, and don't forget the [http://www.hitechcreations.com/ external link] too.</div> | |
| − | + | </div> | |
| − | + | ||
| − | | | + | |
| − | | | + | '''Test cases for #ifexist:''' |
| − | + | ||
| − | + | *ifexist 1|Documentation/docname....{{#ifexist: {{{1|{{Documentation/docname}}}}}|EXISTS|no dice}} | |
| − | + | *ifexist Documentation/docname....{{#ifexist: {{Documentation/docname}}|EXISTS|no dice}} | |
| − | + | *ifexist Template:Infobox Aircraft/doc....{{#ifexist: Template:Infobox Aircraft/doc|EXISTS|no dice}} | |
| − | + | *ifexist Template:Infobox Aircraft....{{#ifexist: Template:Infobox Aircraft|EXISTS|no dice}} | |
| − | + | *ifexist Culture.... {{#ifexist:Culture|EXISTS|no dice}} | |
| − | + | *if: 1 {{ #if: 1 | true | false }} (should be true) | |
| − | + | *if: 0 {{ #if: 0 | true | false }} (should be true) | |
| − | + | *if: {{ #if: | true | false }} (should be false) | |
| − | |||
| − | |||
| − | | || | ||
| − | | | ||
| − | | | | ||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | |||
| − | | | | ||
| − | |||
Latest revision as of 11:19, 25 April 2008
Test case for Template:Infobox AH Aircraft
| Aces High II aircraft | |
| P38-L | |
| Variant of | P-38 Lightning |
|---|---|
| Type | Fighter/attacker |
| Country of origin | USA |
| Manufacturer | Lockheed |
| Crew | Single-seat |
| Dimensions | Wing span 52' Length 37'10" Height 9'10" |
| Internal fuel | 410 gallons |
| Aces High II loadout options | |
| Package 1 | 4x .50 Cal M2 500 rpg 1x 20 mm M2 150 rpg |
| Package 2 | 4x .50 Cal M2 200 rpg 1x 20 mm M2 150 rpg |
| Options | 10x HVAR 5" Rockets |
| 2x 250 lb bombs | |
| 2x 500 lb bombs | |
| 2x 1,000 lb bombs | |
| 2x 150 gallon drop tanks | |
| 1x 150 gallon drop tank | |
| 1x 1K bomb + 1 drop tank | |
| Aces High II Main Arenas | |
| Earliest MA | Late War |
| Typical perk cost | 0 (Late War) |
| ENY value | 20 (Late War) |
| Available on carrier | no |
| how to edit | |
Link colours:
Here's some text against the normal darker background that includes an unvisited link or two and also a link to a non-existent page as well as a link to a visited page, and another one. Oh, and don't forget the external link too.
Here's some text against the lighter background that includes an unvisited link or two and also a link to a non-existent page as well as a link to a visited page, and another one. Oh, and don't forget the external link too.
Test cases for #ifexist:
- ifexist 1|Documentation/docname....no dice
- ifexist Documentation/docname....no dice
- ifexist Template:Infobox Aircraft/doc....EXISTS
- ifexist Template:Infobox Aircraft....EXISTS
- ifexist Culture.... EXISTS
- if: 1 true (should be true)
- if: 0 true (should be true)
- if: false (should be false)