Difference between revisions of "Template:InfoboxHour"

From The Fansus
Jump to: navigation, search
(Undo revision 2951 by PerishedFraud (talk))
(Tag: Undo)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
+
<includeonly>{{Infobox
 
  |bodystyle    =  
 
  |bodystyle    =  
  
  | above = {{{title}}}
+
  | above       = {{{title}}}
  
  |imagestyle  =  
+
  |imagestyle  = padding: 10px 0;
  |  image      = {{#if:{{{card|}}}|[[{{card}}]]}}
+
  |  image      = {{#ifexist: {{{card|}}} | [[{{{card}}}|200px]] | [[File:FNORD.png|200px|link={{{card|}}}]] }}
  
 
  |headerstyle  =  
 
  |headerstyle  =  
Line 11: Line 11:
 
  |datastyle    =  
 
  |datastyle    =  
  
  | label1 = Origin
+
  | label1 =
  |  data1 = {{{origin}}}
+
|  data1 = {{#if: {{{quote|}}} | <span style="font-size: 90%;">''"{{{quote}}}"''</span> }}
  | label2 = Titles
+
| label2 = Origin
  |  data2 = {{{titles}}}
+
  |  data2 = {{{origin}}}
  | label3 = Names
+
  | label3 = Titles
  |  data3 = {{{names}}}
+
  |  data3 = {{{titles}}}
  | label4 = Aspects
+
  | label4 = Names
  |  data4 = {{{aspects}}}
+
  |  data4 = {{{names}}}
  | label5 = Date of arrival
+
  | label5 = Aspects
  |  data5 = {{{arrival}}}
+
  |  data5 = {{{aspects}}}
  | label6 = Owner(s)
+
  | label6 = Date of arrival
  |  data6 = {{{owners}}}
+
  |  data6 = {{{arrival}}}
}}
+
  | label7 = Owner(s)
 +
  |  data7 = {{{owners}}}
 +
}}</includeonly><noinclude>The '''InfoboxHour''' template can be used to insert an infobox about an [[:Category:Hours|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:
 +
<pre>{{InfoboxHour
 +
| title  =
 +
| card    =
 +
| quote  =
 +
| origin  =
 +
| titles  =
 +
| names  =
 +
| aspects =
 +
| arrival =
 +
| owners  =
 +
}}</pre>
 +
 
 +
[[Category:Top-level templates]]</noinclude>

Latest revision as of 03: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  =
}}