Template:Convention: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| class="infobox" border=0 align=right cellpadding=3 cellspacing=0 style="{{Roundy}}; padding: 0px; margin-left:5px; margin-bottom:5px; width: 300px; text-align: left; font-s...") |
No edit summary |
||
(47 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" border=0 align=right cellpadding=3 cellspacing=0 style="{{Roundy}}; padding: 0px; margin-left:5px; margin-bottom:5px; width: 300px; text-align: left; font-size: 95%; border: 3px solid #A1871F; background: #F1DE8F;" | {| class="infobox" border=0 align=right cellpadding=3 cellspacing=0 style="{{Roundy}}; padding: 0px; margin-left:5px; margin-bottom:5px; width: 300px; text-align: left; font-size: 95%; border: 3px solid #A1871F; background: #F1DE8F;" | ||
|- | |- | ||
| style="{{Roundy Top}}; background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" | '''{{#if:{{{ | | style="{{Roundy Top}}; background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" | '''{{#if:{{{title|}}}|{{{title}}}|Title}}''' | ||
|- style="text-align:center; vertical-align:middle; font-size:90%; background: #FFFFFF;" | |- style="text-align:center; vertical-align:middle; font-size:90%; background: #FFFFFF;" | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{!}}colspan="2" style="width:100%;"{{!}} [[File:{{{image|}}}|{{{image-size| | {{!}}colspan="2" style="width:100%;"{{!}} [[File:{{{image}}}|{{#if:{{{image-size|}}}|<!--then:-->{{{image-size}}}px|<!--else:-->300px}}| ]] | ||
}} | }} | ||
|- | |- | ||
{{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''Convention''' | {{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''Convention''' | ||
|- | |||
{{#if:{{{eventname|}}}| | |||
{{!}}colspan="2" align="center" style="background:#FFD100" {{!}} '''{{{eventname}}}''' | |||
}} | |||
|- style="text-align:left; vertical-align:top; font-size:95%;" | |- style="text-align:left; vertical-align:top; font-size:95%;" | ||
Line 57: | Line 62: | ||
}} | }} | ||
|- | |- | ||
| style="{{Roundy Bottom}}; background: #56565a; font-size: 110%;" align="center" colspan="2" | | | style="{{Roundy Bottom}}; background: #56565a; color:#ffffff; font-size: 110%;" align="center" colspan="2" | | ||
{| style="color:#ffffff; width:100%" | |||
|- | |||
|align="left" | {{#if:{{{previous-year|}}}|[[{{#if:{{{previous-article|}}}|{{{previous-article|}}}|{{{name|}}} {{{previous-year|}}}}}|<span style="color:white;">← {{#if:{{{previous-article|}}}|{{{previous-year|}}}|{{{previous-year|}}}}}</span>]] | |||
|{{#if:{{{prev|}}}|[[{{#if:{{{previous-article|}}}|{{{previous-article|}}}|{{{name|}}} {{{prev|}}}}}|<span style="color:white;">← {{#if:{{{previous-article|}}}|{{{prev|}}}|{{{prev|}}}}}</span>]]}}}} | |||
|align="right" | {{#if:{{{next-year|}}}|[[{{#if:{{{next-article|}}}|{{{next-article|}}}|{{{name|}}} {{{next-year|}}}}}|<span style="color:white;">{{#if:{{{next-article|}}}|{{{next-year|}}}|{{{next-year|}}}}} →</span>]] | |||
|{{#if:{{{next|}}}|[[{{#if:{{{next-article|}}}|{{{next-article|}}}|{{{name|}}} {{{next|}}}}}|<span style="color:white;">{{#if:{{{next-article|}}}|{{{next|}}}|{{{next|}}}}} →</span>]]}}}} | |||
|} | |||
|} | |} | ||
{{#switch:{{FULLPAGENAME}}| | {{#switch:{{FULLPAGENAME}}| | ||
Line 65: | Line 78: | ||
|#default = | |#default = | ||
}}<!-- | }}<!-- | ||
-->< | -->{{#ifeq:{{{type|}}}|National|[[Category:National Convention {{{year|}}}]]}}<!-- | ||
[[Category: | -->{{#ifeq:{{{type|}}}|State|[[Category:{{{state|}}} State Party Conventions]] [[Category:{{{year|}}} State Party Conventions]]}}<!-- | ||
-->{{#ifeq:{{{type|}}}|County|[[Category:{{{state|}}} Local Party Conventions]] [[Category:{{{year|}}} Local Party Conventions]]}}<!-- | |||
--><noinclude><br style="clear:both">{{Documentation}}</noinclude><noinclude>[[Category:Infobox Templates]]</noinclude> |
Latest revision as of 01:27, 6 March 2024
Title | |||
Convention | |||
|
Template documentation (for the above template, sometimes hidden or invisible)
Usage
Template
Copy and paste the template below into the article you want to use it in.
{{Convention |eventname = (name of event, such as ''Turning Point 1977'' for the 1977 national convention) |image = |image-size = |type = |state = |year = |dates = |location = |venue = |website = |facebook = |name = (default article name i.e. New York Convention) |previous-article = (use if previous article has a different naming style) |previous-year = |next-article = (use if next article has a different naming style) |next-year = }}
Visit Template:Convention/doc to edit this text! (How does this work?)