Template:Infobox Card: Difference between revisions

Jump to navigation Jump to search
Make the name an optional argument. If not given, use the pagename
(Undo revision 11094 by Psymia (talk) Also revert this)
(Make the name an optional argument. If not given, use the pagename)
Line 1: Line 1:
<includeonly>__NOTOC__<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;">
<includeonly>__NOTOC__<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">{{{name|}}}</div>
{{#if:{{{name|}}}|
  ! colspan=2 style="border:0px transparent;font-size:150%;background-color:transparent" |<div style="margin:0 0 15px 0">{{{name|}}}</div>
|
  ! colspan=2 style="border:0px transparent;font-size:150%;background-color:transparent" |<div style="margin:0 0 15px 0">{{PAGENAME}}</div>
}}
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
   <div style="text-align:center;width:100%">[[File:{{{image|}}}|230px|{{{name|}}}]]</div>
   <div style="text-align:center;width:100%">[[File:{{{image|}}}|230px|{{{name|}}}]]</div>

Navigation menu