Template:Affiliation infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "style="([^"\n]+)" colspan="([^"\n]+)" class="([^"\n]+)"" to "class="$3" colspan="$2" style="$1"")
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:300px; color:{{{color|#000}}}; background:{{{BG|#555}}}" cellspacing="0"
{{Infobox|start}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}}}
{{!}}-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{image|}}}|
 
! class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|section|title={{{section1-title|Government overview}}}|entries=
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}}
{{Infobox|entry|title={{{founder-title|Founder(s)}}}|content={{{founder|}}}}}
{{Infobox|entry|title={{{documents-title|Founding documents}}}|content={{{documents|}}}}}
{{Infobox|entry|title={{{head-title|Head of state}}}|content={{{head|}}}}}
{{Infobox|entry|title={{{executive-title|Executive branch}}}|content={{{executive|}}}}}
{{Infobox|entry|title={{{legislative-title|Legislative branch}}}|content={{{legislative|}}}}}
{{Infobox|entry|title={{{judicial-title|Judicial branch}}}|content={{{judicial|}}}}}
{{Infobox|entry|title={{{branch-title|Government branches}}}|content={{{branch|}}}}}
{{Infobox|entry|title={{{anthem-title|Anthem}}}|content={{{anthem|}}}}}
}}
 
{{Infobox|section|title={{{section2-title|Societal overview}}}|entries=
{{Infobox|entry|title={{{main-title|Capital}}}|content={{{main|}}}}}
{{Infobox|entry|title={{{language-title|Official language(s)}}}|content={{{language|}}}}}
{{Infobox|entry|title={{{religion-title|Official religion(s)}}}|content={{{religion|}}}}}
{{Infobox|entry|title={{{script-title|Official script(s)}}}|content={{{script|}}}}}
{{Infobox|entry|title={{{notable-title|Notable event(s)}}}|content={{{notable|}}}}}
{{Infobox|entry|title={{{techlevel-title|[[Technological Achievement Tiers|Technology level]]}}}|content={{{techlevel|}}}}}
}}
 
{{Infobox|section|title={{{section3-title|Historical overview}}}|entries=
{{Infobox|entry|title={{{formed-title|Formation}}}|content={{{formed|}}}}}
{{Infobox|entry|title={{{formed-title|Reorganization}}}|content={{{reorganized|}}}}}
{{Infobox|entry|title={{{formed-title|Fragmentation}}}|content={{{fragmented|}}}}}
{{Infobox|entry|title={{{formed-title|Amalgamation}}}|content={{{amalgamated|}}}}}
{{Infobox|entry|title={{{dissolved-title|Dissolution}}}|content={{{dissolved|}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
}}
}}
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" class="infoboxsubheading" {{!}} {{{section1-title|Government overview}}}}}
{{!}}-
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{type-title|Type}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{type|}}}
{{!}}-}}
{{#if:{{{founder|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{founder-title|Founder(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{founder|}}}
{{!}}-}}
{{#if:{{{documents|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{documents-title|Founding documents}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{documents|}}}
{{!}}-}}
{{#if:{{{head|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{head-title|Head of state}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{head|}}}
{{!}}-}}
{{#if:{{{executive|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{executive-title|Executive branch}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{executive|}}}
{{!}}-}}
{{#if:{{{legislative|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{legislative-title|Legislative branch}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{legislative|}}}
{{!}}-}}
{{#if:{{{judicial|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{judicial-title|Judicial branch}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{judicial|}}}
{{!}}-}}
{{#if:{{{branch|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{branch-title|Government branches}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{branch|}}}
{{!}}-}}
{{#if:{{{anthem|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{anthem-title|Anthem}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{anthem|}}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" class="infoboxsubheading" {{!}} {{{section2-title|Societal overview}}}}}
{{!}}-
{{#if:{{{main|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{main-title|Capital}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{main|}}}
{{!}}-}}
{{#if:{{{language|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{language-title|Official language(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{language|}}}
{{!}}-}}
{{#if:{{{religion|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{religion-title|Official religion(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{religion|}}}
{{!}}-}}
{{#if:{{{script|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{script-title|Official script(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{script|}}}
{{!}}-}}
{{#if:{{{notable|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{notable-title|Notable event(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable|}}}
{{!}}-}}
{{#if:{{{techlevel|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{techlevel-title|[[Technological Achievement Tiers|Technology level]]}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{techlevel|}}}
{{!}}-}}
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" class="infoboxsubheading" {{!}} {{{section3-title|Historical overview}}}}}
{{!}}-
{{#if:{{{formed|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{formed-title|Formation}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{formed|}}}
{{!}}-}}
{{#if:{{{reorganized|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{formed-title|Reorganization}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{reorganized|}}}
{{!}}-}}
{{#if:{{{fragmented|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{formed-title|Fragmentation}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{fragmented|}}}
{{!}}-}}
{{#if:{{{amalgamated|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{formed-title|Amalgamation}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{amalgamation|}}}
{{!}}-}}
{{#if:{{{dissolved|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{dissolved-title|Dissolution}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{dissolved|}}}
{{!}}-}}
{{#if:{{{affiliation|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{affiliation-title|Affiliation}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{affiliation|}}}
{{!}}-}}
| class="infoboxfooter" colspan="2" |  
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Faction {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
__NOTOC__{{clear}}
==About==
*User-friendly in terms of basic appearance modification.


==Usage==
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Faction}}}}}</includeonly><noinclude>{{clear}}
== Usage instructions ==
Paste the following code into the top of an article, filling all known fields:
Paste the following code into the top of an article, filling all known fields:
<pre>{{Affiliation infobox
 
<pre>
{{Affiliation infobox
|name=
|name=
|image=
|image=
Line 160: Line 49:
|judicial=
|judicial=
|branch=
|branch=
|anthem=
|main=
|main=
|anthem=
|language=
|language=
|religion=
|script=
|script=
|religion=
|notable=
|techlevel=
|techlevel=
|notable=
|formed=
|formed=
|reorganized=
|reorganized=
Line 173: Line 62:
|dissolved=
|dissolved=
|affiliation=
|affiliation=
}}</pre>
}}
</pre>


==Custom parameters==
== Custom parameters ==
The following are custom parameters that allows you to alter the content in the box.
The following are custom parameters that allows you to alter the content in the box.
<pre>
<pre>
|section1-title=
|type-title=
|type-title=
|founder-title=
|founder-title=
Line 186: Line 78:
|judicial-title=
|judicial-title=
|branch-title=
|branch-title=
|anthem-title=
|section2-title=
|main-title=
|main-title=
|anthem-title=
|language-title=
|language-title=
|religion-title=
|script-title=
|script-title=
|religion-title=
|notable-title=
|techlevel-title=
|techlevel-title=
|notable-title=
|section3-title=
|formed-title=
|formed-title=
|reorganized-title=
|fragmented-title=
|amalgamated-title=
|dissolved-title=
|dissolved-title=
|affiliation-title=
|affiliation-title=
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=
|section3-title=
</pre>
==Display parameters==
The following allows you to hide the section header
*hidea (hides first section header)
*hideb (hides second section header)
*hidec (hides third section header)
<pre>
|hidea=
|hideb=
|hidec=
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 12:14, March 22, 2024

Affiliation infobox
 

Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{Affiliation infobox
|name=
|image=
|type=
|founder=
|documents=
|head=
|executive=
|legislative=
|judicial=
|branch=
|anthem=
|main=
|language=
|religion=
|script=
|notable=
|techlevel=
|formed=
|reorganized=
|fragmented=
|amalgamated=
|dissolved=
|affiliation=
}}

Custom parameters

The following are custom parameters that allows you to alter the content in the box.

|section1-title=
|type-title=
|founder-title=
|documents-title=
|head-title=
|executive-title=
|legislative-title=
|judicial-title=
|branch-title=
|anthem-title=
|section2-title=
|main-title=
|language-title=
|religion-title=
|script-title=
|notable-title=
|techlevel-title=
|section3-title=
|formed-title=
|reorganized-title=
|fragmented-title=
|amalgamated-title=
|dissolved-title=
|affiliation-title=