Template:Infobox Card: Difference between revisions

Jump to navigation Jump to search
m
Try to fix unneeded break.
(Use the cardname as a variable since it is used multiple times.)
m (Try to fix unneeded break.)
Line 1: Line 1:
<includeonly>__NOTOC__
<includeonly>__NOTOC__{{#if:{{{name|}}}|
{{#if:{{{name|}}}|
   {{
   {{
     #vardefine: cardname | {{{name|}}}
     #vardefine: cardname | {{{name|}}}
Line 8: Line 7:
     #vardefine: cardname | {{PAGENAME}}
     #vardefine: cardname | {{PAGENAME}}
   }}
   }}
}}
}}<div style="float:right; border:2px solid {{Type Color|type={{ValidateArchetype|{{{archetype|}}}}}_border}}; margin:0 0 15px 15px; border-radius:15px; width:270px; background-color: {{Type Color|type={{ValidateArchetype|{{{archetype|}}}}}_background}}; box-shadow: 0px 2px 4px #7B8C96; padding:7px;">
<div style="float:right; border:2px solid {{Type Color|type={{ValidateArchetype|{{{archetype|}}}}}_border}}; margin:0 0 15px 15px; border-radius:15px; width:270px; background-color: {{Type Color|type={{ValidateArchetype|{{{archetype|}}}}}_background}}; box-shadow: 0px 2px 4px #7B8C96; padding:7px;">
{| class="wikitable" style="width:100%;border:0px transparent;background-color:transparent"
{| class="wikitable" style="width:100%;border:0px transparent;background-color:transparent"
! colspan=2 style="border:0px transparent;font-size:150%;background-color:transparent" |<div style="margin:0 0 15px 0">{{#var: cardname }}</div>
! colspan=2 style="border:0px transparent;font-size:150%;background-color:transparent" |<div style="margin:0 0 15px 0">{{#var: cardname }}</div>

Navigation menu