Template:Infobox Local Affiliate: Difference between revisions

From LPedia
Jump to navigation Jump to search
No edit summary
m (→‎top: renaming category)
 
(29 intermediate revisions by 2 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: #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%; background: #FFFFFF;"
|- 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%;"
Line 16: Line 16:
{{!}}style="width:30%; font-weight:bold;"{{!}}Jurisdiction:
{{!}}style="width:30%; font-weight:bold;"{{!}}Jurisdiction:
{{!}}style="width:70%;"{{!}}{{{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}}}
}}
}}


Line 38: Line 44:
|-
|-
<!-- 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%;"
Line 48: Line 54:
|- 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:30%; font-weight:bold;"{{!}}Vice Chair:
{{!}}style="width:30%; font-weight:bold;"{{!}}Vice-Chair:
{{!}}style="width:70%;"{{!}}{{{vice-chair}}}
{{!}}style="width:70%;"{{!}}{{{vice-chair}}}
}}
}}
Line 55: Line 61:
{{#if:{{{secretary|}}}|
{{#if:{{{secretary|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Secretary:
{{!}}style="width:30%; font-weight:bold;"{{!}}Secretary:
{{!}}style="width:70%;"{{!}}{{{secretary}}}
{{!}}style="width:70%;"{{!}}{{{secretary}}}{{#if:{{{secretary-assistant|}}}|<br/>{{{secretary-assistant}}} <small>(assistant)</small>|}}
}}
}}


Line 61: Line 67:
{{#if:{{{treasurer|}}}|
{{#if:{{{treasurer|}}}|
{{!}}style="width:30%; font-weight:bold;"{{!}}Treasurer:
{{!}}style="width:30%; font-weight:bold;"{{!}}Treasurer:
{{!}}style="width:70%;"{{!}}{{{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:{{{website|{{{facebook|{{{twitter|{{{meetup|}}}}}}}}}}}}|
<!-- 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%;"
Line 84: Line 96:
{{!}}style="width:30%; font-weight:bold;"{{!}}Twitter:
{{!}}style="width:30%; font-weight:bold;"{{!}}Twitter:
{{!}}style="width:70%;"{{!}}[{{{twitter}}} 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]
}}
}}


Line 96: Line 114:
|}
|}
{{#switch:{{FULLPAGENAME}}|
{{#switch:{{FULLPAGENAME}}|
|Template:Infobox local affiliate = [[Category:Infobox templates]]
|Template:Infobox local affiliate = [[Category:Infobox Templates]]
|Template:Infobox local affiliate/doc = [[Category:Template documentation]]
|Template:Infobox local affiliate/doc = [[Category:Template documentation]]
|#default = [[Category:Local Affiliates]]
|#default = <!--[[Category:Local Affiliates]]-->
}}<!--
}}<!--
-->{{#ifeq:{{{status|}}}|Active|[[Category:Local Affiliates of the Libertarian Party of {{{state|}}}]]}}<!--
-->{{#ifeq:{{{status|}}}|Active|[[Category:Local Libertarian Parties in {{{state|}}}|{{{jurisdiction|}}}]]|}}<!--
-->{{#ifeq:{{{status|}}}|Defunct|[[Category:Former Local Affiliates of the Libertarian Party of {{{state|}}}]]|}}<!--
-->{{#ifeq:{{{status|}}}|Pending|[[Category:Pending Local Libertarian Parties in {{{state|}}}|{{{jurisdiction|}}}]]|}}<!--
--><noinclude><!--<br style="clear:both">{{Documentation}}--></noinclude><noinclude>
-->{{#ifeq:{{{status|}}}|Defunct|[[Category:Former Local Libertarian Parties in {{{state|}}}|{{{jurisdiction|}}}]]|}}<!--
==Usage==
-->{{#ifeq:{{{status|}}}|Unknown|[[Category:Local Libertarian Parties of Unknown Status in {{{state|}}}|{{{jurisdiction|}}}]]|}}<!--
<pre>
--><noinclude><br style="clear:both">{{Documentation}}</noinclude><noinclude></noinclude>
{{Infobox local affiliate
|name =
|logo =
|jurisdiction =
|state =
|chartered =
|dechartered =
|status =
|chair =
|vice-chair =
|secretary =
|treasurer =
|website =
|facebook =
|twitter =
|meetup =
}}
</pre>
[[Category:infoboxes]]</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 = 
}}