Template:Infobox Local Affiliate: Difference between revisions

From LPedia
Jump to navigation Jump to search
(Categorization)
m (→‎top: renaming category)
 
(40 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" border=1 align=right cellpadding=3 cellspacing=0 style="{{Roundy}}; padding: 3px; margin-left:5px; margin-bottom:5px; width: 300px; text-align: left; font-size: 95%; border: 2px solid #A1871F; background: #E5C601;"
{| 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: #56565a; color:#ffffff; font-size: 110%;" align="center" colspan="2" | '''{{#if:{{{Name|}}}|{{{Name}}}|Local Affiliate}}'''
| style="{{Roundy Top}}; background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" | '''{{#if:{{{name|}}}|{{{name}}}|Local Affiliate}}'''


|- style="text-align:center; vertical-align:middle; font-size:90%;"
|- style="text-align:center; vertical-align:middle; font-size:90%; background: #FFFFFF;"
{{#if:{{{logo|}}}|
{{#if:{{{logo|}}}|
{{!}}colspan="2" style="width:100%;"{{!}}[[File:{{{logo|}}}|300px]]
{{!}}colspan="2" style="width:100%;"{{!}} [[File:{{{logo|}}}|{{{logo-size|150px}}}]]
}}
}}


|-
|-
<!-- General Information  -->{{#if:{{{jurisdiction|{{{chartered|}}}}}}|
<!-- General Information  -->{{#if:{{{jurisdiction|{{{chartered|}}}}}}|
{{!}} style="background: #56565a; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''General Information'''}}
{{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''General Information'''}}


|- style="text-align:left; vertical-align:top; font-size:95%;"
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{jurisdiction|}}}|
{{#if:{{{jurisdiction|}}}|
{{!}}style="width:50%; font-weight:bold;"{{!}}Jurisdiction:
{{!}}style="width:30%; font-weight:bold;"{{!}}Jurisdiction:
{{!}}style="width:50%;"{{!}}{{{jurisdiction}}}
{{!}}style="width:70%;"{{!}}{{{jurisdiction}}}
}}
 
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{established|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Established:
{{!}}style="width:70%;"{{!}}{{{established}}}
}}
}}


|- style="text-align:left; vertical-align:top; font-size:95%;"
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{chartered|}}}|
{{#if:{{{chartered|}}}|
{{!}}style="width:50%; font-weight:bold;"{{!}}Chartered:
{{!}}style="width:30%; font-weight:bold;"{{!}}Chartered:
{{!}}style="width:50%;"{{!}}{{{chartered}}}
{{!}}style="width:70%;"{{!}}{{{chartered}}}
}}
 
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{dechartered|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Dechartered:
{{!}}style="width:70%;"{{!}}{{{dechartered}}}
}}
 
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{status|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Status:
{{!}}style="width:70%;"{{!}}{{{status}}}
}}
}}


|-
|-
<!-- Officers  -->{{#if:{{{chair|{{{vice-chair|{{{secretary|{{{treasurer|}}}}}}}}}}}}|
<!-- Officers  -->{{#if:{{{chair|{{{vice-chair|{{{secretary|{{{treasurer|}}}}}}}}}}}}|
{{!}} style="background: #56565a; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''Officers'''}}
{{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''Officers'''}}


|- style="text-align:left; vertical-align:top; font-size:95%;"
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{chair|}}}|
{{#if:{{{chair|}}}|
{{!}}style="width:50%; font-weight:bold;"{{!}}Chair:
{{!}}style="width:30%; font-weight:bold;"{{!}}Chair:
{{!}}style="width:50%;"{{!}}{{{chair}}}
{{!}}style="width:70%;"{{!}}{{{chair}}}
}}
}}


|- style="text-align:left; vertical-align:top; font-size:95%;"
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{vice-chair|}}}|
{{#if:{{{vice-chair|}}}|
{{!}}style="width:50%; font-weight:bold;"{{!}}Vice Chair:
{{!}}style="width:30%; font-weight:bold;"{{!}}Vice-Chair:
{{!}}style="width:50%;"{{!}}{{{vice-chair}}}
{{!}}style="width:70%;"{{!}}{{{vice-chair}}}
}}
}}


|- style="text-align:left; vertical-align:top; font-size:95%;"
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{secretary|}}}|
{{#if:{{{secretary|}}}|
{{!}}style="width:50%; font-weight:bold;"{{!}}Secretary:
{{!}}style="width:30%; font-weight:bold;"{{!}}Secretary:
{{!}}style="width:50%;"{{!}}{{{secretary}}}
{{!}}style="width:70%;"{{!}}{{{secretary}}}{{#if:{{{secretary-assistant|}}}|<br/>{{{secretary-assistant}}} <small>(assistant)</small>|}}
}}
}}


|- style="text-align:left; vertical-align:top; font-size:95%;"
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{treasurer|}}}|
{{#if:{{{treasurer|}}}|
{{!}}style="width:50%; font-weight:bold;"{{!}}Treasurer:
{{!}}style="width:30%; font-weight:bold;"{{!}}Treasurer:
{{!}}style="width:50%;"{{!}}{{{treasurer}}}
{{!}}style="width:70%;"{{!}}{{{treasurer}}}{{#if:{{{treasurer-assistant|}}}|<br/>{{{treasurer-assistant}}} <small>(assistant)</small>|}}
}}
 
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{executive-director|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Executive Director:
{{!}}style="width:70%;"{{!}}{{{executive-director}}}
}}
}}


|-
|-
<!-- Information -->{{#if:{{{Chair|{{{Vice Chair|{{{Secretary|{{{Treasurer|}}}}}}}}}}}}|
<!-- Media -->{{#if:{{{website|{{{facebook|{{{twitter|{{{meetup|}}}}}}}}}}}}|
{{!}} style="background: #56565a; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''Media'''}}
{{!}} style="background: #6D6E71; color:#ffffff; font-size: 110%;" align="center" colspan="2" {{!}} '''Media'''}}


|- style="text-align:left; vertical-align:top; font-size:95%;"
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{website|}}}|
{{#if:{{{website|}}}|
{{!}}style="width:50%; font-weight:bold;"{{!}}Website:
{{!}}style="width:30%; font-weight:bold;"{{!}}Website:
{{!}}style="width:50%;"{{!}}{{{website}}}
{{!}}style="width:70%;"{{!}}[{{{website}}} Website]
}}
}}


|- style="text-align:left; vertical-align:top; font-size:95%;"
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{facebook|}}}|
{{#if:{{{facebook|}}}|
{{!}}style="width:50%; font-weight:bold;"{{!}}Facebook:
{{!}}style="width:30%; font-weight:bold;"{{!}}Facebook:
{{!}}style="width:50%;"{{!}}{{{facebook}}}
{{!}}style="width:70%;"{{!}}[{{{facebook}}} Facebook]
}}
}}


|- style="text-align:left; vertical-align:top; font-size:95%;"
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{twitter|}}}|
{{#if:{{{twitter|}}}|
{{!}}style="width:50%; font-weight:bold;"{{!}}Twitter:
{{!}}style="width:30%; font-weight:bold;"{{!}}Twitter:
{{!}}style="width:50%;"{{!}}{{{twitter}}}
{{!}}style="width:70%;"{{!}}[{{{twitter}}} Twitter]
}}
 
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{instagram|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Instagram:
{{!}}style="width:70%;"{{!}}[{{{instagram}}} Instagram]
}}
 
|- style="text-align:left; vertical-align:top; font-size:95%;"
{{#if:{{{meetup|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Meetup:
{{!}}style="width:70%;"{{!}}[{{{meetup}}} Meetup]
}}
}}


Line 78: Line 114:
|}
|}
{{#switch:{{FULLPAGENAME}}|
{{#switch:{{FULLPAGENAME}}|
|Template:Event = [[Category:Infobox templates]]
|Template:Infobox local affiliate = [[Category:Infobox Templates]]
|Template:Event/doc = [[Category:Template documentation]]
|Template:Infobox local affiliate/doc = [[Category:Template documentation]]
|#default = [[Category:Events]]
|#default = <!--[[Category:Local Affiliates]]-->
}}<noinclude><br style="clear:both">{{Documentation}}</noinclude>
}}<!--
<noinclude>[[Category:infoboxes]]</noinclude>
-->{{#ifeq:{{{status|}}}|Active|[[Category:Local Libertarian Parties in {{{state|}}}|{{{jurisdiction|}}}]]|}}<!--
-->{{#ifeq:{{{status|}}}|Pending|[[Category:Pending Local Libertarian Parties in {{{state|}}}|{{{jurisdiction|}}}]]|}}<!--
-->{{#ifeq:{{{status|}}}|Defunct|[[Category:Former Local Libertarian Parties in {{{state|}}}|{{{jurisdiction|}}}]]|}}<!--
-->{{#ifeq:{{{status|}}}|Unknown|[[Category:Local Libertarian Parties of Unknown Status in {{{state|}}}|{{{jurisdiction|}}}]]|}}<!--
--><noinclude><br style="clear:both">{{Documentation}}</noinclude><noinclude></noinclude>

Latest revision as of 02:13, 17 December 2020

Local Affiliate


Template documentation (for the above template, sometimes hidden or invisible)

This infobox template is used for local affiliates.

Parameters

Name

Name of the organization

Logo

File name of logo (example: LPNY.png)

Jurisdiction

The area in which the affiliate covers, such as a particular county, group of counties, parish, borough, city, town, etc.

State

The state in which the affiliate is located.

Established

Date of establishment, such as an inaugural meeting

Chartered

Date of charter (such as approval from state)

Decharted

Date of decharted for defunct affiliates.

Status

Use "Active" or "Defunct"

Chair, Vice Chair, Secretary, Treasurer

Name of office holder

Website, Facebook, Twitter, Meetup

URL of page without the "[" and "]"

Usage

Copy and paste the following to the top of the page you want to insert the template and fill out the information.

{{Infobox Local Affiliate
|name = 
|logo = 
|jurisdiction = 
|state = 
|established = 
|chartered = 
|dechartered = 
|status = 
|chair = 
|vice-chair = 
|secretary = 
|treasurer = 
|director at large =
|website = 
|facebook = 
|twitter = 
|meetup = 
}}