Difference between revisions of "Template:Card"

From SoundInGames.com - Sound Design in Games
Jump to: navigation, search
Line 9: Line 9:
 
     {{#ifeq: {{{example|}}} | what | YES | NO}}
 
     {{#ifeq: {{{example|}}} | what | YES | NO}}
 
     note: if either the variable is empty or does not exist is considered 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
+
reserve word to request a field not to be shown: hidethisfield
  
 
-->
 
-->
Line 20: Line 20:
 
{{#ifeq: {{{test3|}}} |  | 20 | 40}}
 
{{#ifeq: {{{test3|}}} |  | 20 | 40}}
  
{{#ifexist: {{{test1}}} | 20 | 40}}
 
{{#ifexist: {{{test2}}} | 20 | 40}}
 
{{#ifexist: {{{test6}}} | 20 | 40}}
 
  
 
<span style="display:none">{{{cardname|Name}}}{{{deckversion|v1.0}}}</span>
 
<span style="display:none">{{{cardname|Name}}}{{{deckversion|v1.0}}}</span>
Line 43: Line 40:
 
{{{synopsis|Synopsis description goes here}}}
 
{{{synopsis|Synopsis description goes here}}}
 
<br>
 
<br>
{{{#if:screenshots|===Examples===|}}}
+
{{#ifeq: {{{screenshots}}} | hidethisfield ||===Examples===
 
{{{screenshots|example1<br>example2<br>example3 }}}
 
{{{screenshots|example1<br>example2<br>example3 }}}
 
<br>
 
<br>
 +
}}
 
===Relationships===
 
===Relationships===
 
<i>{{{rel-tag1|}}}</i>
 
<i>{{{rel-tag1|}}}</i>

Revision as of 13:06, 26 June 2011


20 20 20


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