Difference between revisions of "Template:InfoboxHour"

From The Fansus
Jump to: navigation, search
(Undo revision 2951 by PerishedFraud (talk))
(Tag: Undo)
 
(7 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|}}}]] }}
| caption    = ''"{{{quote}}}"''
 
  
 
  |headerstyle  =  
 
  |headerstyle  =  
Line 12: 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:
 
}}</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
 
<pre>{{InfoboxHour
 
| title  =
 
| title  =
 
| card    =
 
| card    =
 +
| quote  =
 
| origin  =
 
| origin  =
 
| titles  =  
 
| titles  =  
Line 36: 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  =
}}