Difference between revisions of "Template:InfoboxHour"
(Created page with "{{Infobox |bodystyle = |titlestyle = {{{name}}} |imagestyle = | image = {{#if:{{{card|}}}|[[{{card}}]]}} |headerstyle = |labelstyle = |datastyle...") |
(Undo revision 2951 by PerishedFraud (talk)) (Tag: Undo) |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Infobox | + | <includeonly>{{Infobox |
|bodystyle = | |bodystyle = | ||
− | | | + | | above = {{{title}}} |
− | |imagestyle = | + | |imagestyle = padding: 10px 0; |
− | | image = {{# | + | | image = {{#ifexist: {{{card|}}} | [[{{{card}}}|200px]] | [[File:FNORD.png|200px|link={{{card|}}}]] }} |
|headerstyle = | |headerstyle = | ||
Line 11: | Line 11: | ||
|datastyle = | |datastyle = | ||
− | | label1 = Origin | + | | label1 = |
− | | | + | | data1 = {{#if: {{{quote|}}} | <span style="font-size: 90%;">''"{{{quote}}}"''</span> }} |
− | | | + | | label2 = Origin |
− | | | + | | data2 = {{{origin}}} |
− | | | + | | label3 = Titles |
− | | | + | | data3 = {{{titles}}} |
− | | | + | | label4 = Names |
− | | | + | | data4 = {{{names}}} |
− | | | + | | label5 = Aspects |
− | | | + | | data5 = {{{aspects}}} |
− | | | + | | label6 = Date of arrival |
− | | | + | | 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 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 = }}