Difference between revisions of "Template:Card"
From SoundInGames.com - Sound Design in Games
ValterAlves (Talk | contribs) |
ValterAlves (Talk | contribs) |
||
| Line 5: | Line 5: | ||
*use either: | *use either: | ||
| − | ** {{#ifeq: {{{example|}}} | | + | ** #ifequal, with 4 parameter |
| − | + | {{#ifeq: {{{example|}}} | what | YES | NO}} | |
| + | note: if either the variable is empty or does not exist is considered NO | ||
| + | ** #ifexist, with 3 parameter | ||
| + | {{#ifexist {{{example|}}} | YES | NO}} | ||
| + | note: if either the variable is empty or does not exist is considered NO | ||
--> | --> | ||
| Line 14: | Line 18: | ||
{{#ifeq: {{{test3|}}} | | 20 | 40}} | {{#ifeq: {{{test3|}}} | | 20 | 40}} | ||
| − | {{#ifexist: {{{test1|}}} | + | {{#ifexist: {{{test1|}}} | 20 | 40}} |
| − | {{#ifexist: {{{test2|}}} | + | {{#ifexist: {{{test2|}}} | 20 | 40}} |
| − | {{#ifexist: {{{test6|}}} | + | {{#ifexist: {{{test6|}}} | 20 | 40}} |
{{#ifeq: {{{test1|}}} | "" | 20 | 40}} | {{#ifeq: {{{test1|}}} | "" | 20 | 40}} | ||
Revision as of 12:37, 26 June 2011
20
20
20
40 40 40
40 40 40
40 40 40
40 40 40
40 40 40
no
no no no
{{p{{#if :{{{test1}}}|1|2}}|YES|}} {{p{{#if :{{{test2}}}|1|2}}|YES|}} {{p{{#if :{{{test3}}}|1|2}}|YES|}}
YES YES YES
YES YES YES
{{#css:MyMonobook.card.css}}
| |
Back face |
| The card's front face | The card's back face |
Back to Deck
Card
Synopsis
Synopsis description goes here
Examples
example1
example2
example3
Relationships