Difference between revisions of "Template:InfoboxHour"

From The Fansus
Jump to: navigation, search
(Undo revision 2951 by PerishedFraud (talk))
(Tag: Undo)
 
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:
  
 
  |imagestyle  = padding: 10px 0;
 
  |imagestyle  = padding: 10px 0;
  |  image      = {{#ifexist: {{{card|}}} | [[{{{card}}}|200px]] | [[File:FNORD.png|200px]] }}
+
  |  image      = {{#ifexist: {{{card|}}} | [[{{{card}}}|200px]] | [[File:FNORD.png|200px|link={{{card|}}}]] }}
  
 
  |headerstyle  =  
 
  |headerstyle  =  
Line 12: Line 12:
  
 
  | label1 =
 
  | label1 =
  |  data1 = <span style="font-size: 90%;">''"{{{quote}}}"''</span>
+
  |  data1 = {{#if: {{{quote|}}} | <span style="font-size: 90%;">''"{{{quote}}}"''</span> }}
 
  | label2 = Origin
 
  | label2 = Origin
 
  |  data2 = {{{origin}}}
 
  |  data2 = {{{origin}}}
Line 38: Line 38:
 
}}</pre>
 
}}</pre>
  
[[Category:Infobox]]</noinclude>
+
[[Category:Top-level templates]]</noinclude>

Latest revision as of 02:08, 1 March 2019

The InfoboxHour template can be used to insert an infobox about an Hour, providing a quick reference of that Hour's primary characteristics. To insert it in an Hour's page, insert the following snippet of code at the top of the page:

{{InfoboxHour
| title   =
| card    =
| quote   =
| origin  =
| titles  = 
| names   =
| aspects = 
| arrival =
| owners  =
}}