Difference between revisions of "Template:Card"

From SoundInGames.com - Sound Design in Games
Jump to: navigation, search
Line 5: Line 5:
 
*use either:
 
*use either:
  
** {{#ifeq: {{{example|}}} | | YES | NO}}
+
** #ifequal, with 4 parameter
    note: if either the variable is empty or does not exist is considered NO
+
    {{#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|}}} | 20 | 40}}
+
{{#ifexist: {{{test1|}}} | 20 | 40}}
{{#ifexist: {{{test2|}}} | 20 | 40}}
+
{{#ifexist: {{{test2|}}} | 20 | 40}}
{{#ifexist: {{{test6|}}} | 20 | 40}}
+
{{#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

Namev1.0

{{#css:MyMonobook.card.css}}
Front face 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

Revisions