Template:Infobox Organisation: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
No edit summary
 
(31 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>{| border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:white; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; "
<infobox theme="infobox">
| bgcolor=white align="center" colspan="2" | {{{image|No image available}}}
<title source="name"><default>{{da smw|{{PAGENAME}}}}</default></title>
|- valign="top"
<image source="image">
| align="center" colspan=2 bgcolor=Gold style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{name}}}'''
    <caption source="caption">
|- class{{{leader}}}="hiddenStructure" style="vertical-align: top;"
    <default>{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}</default>
{{#if:{{{leader|}}}|
    </caption>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt"{{!}}'''Leader:'''
    </image>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{leader}}}
    <image source="image2">
}}
    <caption source="caption2">
|- class{{{aka}}}="hiddenStructure" style="vertical-align: top;"
    <default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default>
{{#if:{{{aka|}}}|
    </caption>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt"{{!}}'''Also known as:'''
    </image>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{aka}}}
<data source="aka"><label>Also called:</label></data>
}}
<data source="type"><label>Type:</label></data>
|- class{{{affiliation}}}="hiddenStructure" style="vertical-align: top;"
<data source="affiliation"><label>Affiliation:</label></data>
{{#if:{{{affiliation|}}}|
<data source="bases"><label>Bases:</label></data>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Affiliated with:'''
<data source="origin"><label>Place of origin:</label></data>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{affiliation}}}
<data source="leader"><label>Leader:</label></data>
}}
<data source="members"><label>Notable members:</label></data>
|- class{{{bases}}}="hiddenStructure" style="vertical-align: top;"
<data source="size"><label>Size:</label></data>
{{#if:{{{bases|}}}|
<data source="first mention"><label>First mentioned in:</label><format>''[[first mention::{{{first mention}}}|{{da smw|{{{first mention}}}}}]]''{{{first mention note|}}}</format></data>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Homeland / Bases:'''
<data source="first mention cs"><label>First mentioned in:</label><format>{{cite source|{{{first mention cs}}}}}{{{first mention cs note|{{{first mention note|}}}}}}{{#set:first mention={{{first mention cs}}}}}</format></data>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{bases}}}
<data source="first"><label>First appearance:</label><format>''[[first appearance::{{{first}}}|{{da smw|{{{first}}}}}]]''{{{first note|}}}</format></data>
}}
<data source="first cs"><label>First appearance:</label><format>{{cite source|{{{first cs}}}}}{{{first cs note|{{{first note|}}}}}}{{#set:first appearance={{{first cs}}}}}</format></data>
|- class{{{appearances}}}="hiddenStructure" style="vertical-align: top;"
<data source="only"><label>Appearance:</label><format>''[[first appearance::{{{only}}}|{{da smw|{{{only}}}}}]]''{{{only note|}}}</format></data>
{{#if:{{{appearances|}}}|
<data source="only cs"><label>Appearance:</label><format>{{cite source|{{{only cs}}}}}{{{only cs note|{{{only note|}}}}}}{{#set:first appearance={{{only cs}}}}}</format></data>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Appearances:'''
<data source="appearances"><label>Appearances:</label></data>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{appearances}}}
    <group>
}}
      <header>Official trailer</header>
|- class{{{members}}}="hiddenStructure" style="vertical-align: top;"
      <data source="trailer"><format>{{video|{{{trailer}}}|250px|center}}</format></data>
{{#if:{{{members|}}}|
    </group>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Notable Members:'''
    <group>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{members}}}
      <header>{{{clip name|Memorable moment}}}</header>
}}
      <data source="clip"><format>{{video|{{{clip}}}|250px|center}}</format></data>
|- class{{{garrison}}}="hiddenStructure" style="vertical-align: top;"
</group>
{{#if:{{{garrison|}}}|
    <group>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Garrison:'''
      <header>{{{clip2 name|Another memorable moment}}}</header>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{garrison}}}
      <data source="clip2"><format>{{video|{{{clip2}}}|250px|center}}</format></data>
}}
</group>
|}</includeonly><noinclude>
    <group>
==Usage==
      <header>{{{clip3 name|One more memorable moment}}}</header>
Copy and paste '''all''' of the text below onto whichever article page it is needed for (even if some fields are not needed copy all of the text).
      <data source="clip3"><format>{{video|{{{clip3}}}|250px|center}}</format></data>
<pre>
</group>
{{Infobox Organization
    <group>
|name             =
      <header>{{{fullvid name|Full video}}}</header>
|image            =
      <data source="fullvid"><format>{{video|{{{fullvid}}}|250px|center}}</format></data>
|leader            =
</group>
|aka              =
    <group>
|affiliation      =
      <header>{{{bts name|Behind the scenes video}}}</header>
|bases            =
      <data source="bts"><format>{{video|{{{bts}}}|250px|center}}</format></data>
|appearances      =
</group>
|members          =
</infobox>
|garrison          =
<noinclude>{{documentation}}[[Category:Infoboxes]]</noinclude>
}}
</pre>
==Description of fields==
<pre>
{{Infobox Organization
|name              = Name of organisation
|image            = Image representing the organisation at 250px
|leader            = Leader of organisation
|aka              = Other names the organisation is known by
|affiliation      = Any affiliations the organisation has
|bases            = Bases the organisation has
|appearances      = Stories the organisation has appeared in
|members          = Names of the members of the organisation
|garrison          = How many members there are in the organisation
}}
</pre>
[[Category:Infoboxes|Organization]]</noinclude>

Latest revision as of 18:39, 19 September 2024

Instructions for {{Infobox Organisation}}

{{Infobox Organisation}} is the standard infobox used on pages about organisations. Note that this template is an exception to T:SPELL in that the American spelling {{Infobox Organization}} is strictly disallowed. This is because the automatic spelling bot we run on this wiki will change the template name to Organisation, anyway, so there's no point in allowing Organization.

Usage

Copy and paste all of the text below onto whichever article page it is needed for (even if some fields are not needed copy all of the text).

{{Infobox Organisation
|name              = 
|image             =
|leader            =
|aka               =
|affiliation       =
|bases             =
|type              =
|first             =
|first mention     =
|only              =
|appearances       =
|members           =
|size              =
}}