Difference between revisions of "Template:InfoboxIMTU"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
m (Undo revision 769999 by Korok (talk))
Tag: Undo
m
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{InfoboxForIMTU
 
{{InfoboxForIMTU
| image      = {{{image|}}}
+
| image      = {{{image|}}}|x300px|alt={{{title|}}}
 
| title      = {{{title|}}}
 
| title      = {{{title|}}}
 
| label1    = Status
 
| label1    = Status
 
| data1      = {{{status|}}}
 
| data1      = {{{status|}}}
| label2    = IMTU Code
+
| label2    = [[IMTU|IMTU Code]]
 
| data2      = {{{IMTU_code|}}}
 
| data2      = {{{IMTU_code|}}}
| label3    = Originator
+
| label3    = {{#if: {{#pos: {{{originator|}}} | , }} | Originators | Originator }}
| data3      = [[{{{originator|}}}]]
+
| data3      = {{#arraymap:{{{originator|}}}|,|x|[[User:x|x]]|, }}
| label4    = Contributors
+
| label4    = {{#if: {{#pos: {{{contributors|}}} | , }} | Contributors | Contributor }}
| data4      = {{#arraymap:{{{contributors|}}}|,|x|[[x]]|, }}
+
| data4      = {{#arraymap:{{{contributors|}}}|,|x|[[User:x|x]]|&nbsp;·&nbsp; }}
 
| label5    = Years Active
 
| label5    = Years Active
 
| data5      = {{{start_year|}}}&ndash;{{#if: {{{end_year|}}} | {{{end_year}}} | Present }}
 
| data5      = {{{start_year|}}}&ndash;{{#if: {{{end_year|}}} | {{{end_year}}} | Present }}
Line 16: Line 16:
 
| data6      = {{#arraymap:{{{language|}}}|,|x|x|, }}
 
| data6      = {{#arraymap:{{{language|}}}|,|x|x|, }}
 
| label7    = Platform
 
| label7    = Platform
| data7      = {{#arraymap:{{{platform|}}}|,|x|{{!}} [x Platform Name] |, }}
+
| data7      = {{{platform|}}}
 +
{{hidden
 +
  |header    = '''Description:'''
 +
  |tal      = left
 +
  |content  = {{#if: {{{description|}}} | {{Collapsible section|title=Description|content={{{description}}} }} }}
 +
  }}
 +
{{hidden
 +
  |header    ='''Tags:'''
 +
  |tal      = left
 +
  |content  = {{#if: {{{tags|}}} | {{Collapsible section|title=Tags|content={{#arraymap:{{{tags|}}}|,|x|x|, }} }} }}
 +
  }}
 
}}
 
}}
 
'''Description:''' {{#if: {{{description|}}} | {{Collapsible section|title=Description|content={{{description}}}}} }}
 
 
'''Tags:''' {{#if: {{{tags|}}} | {{Collapsible section|title=Tags|content={{#arraymap:{{{tags|}}}|,|x|x|, }} }} }}
 
 
 
</includeonly>
 
</includeonly>
 
 
<noinclude>
 
<noinclude>
 
{{#cargo_declare:_table=IMTU
 
{{#cargo_declare:_table=IMTU
Line 41: Line 45:
 
|search_terms  = Searchtext
 
|search_terms  = Searchtext
 
}}
 
}}
</noinclude>
 
 
<noinclude>
 
 
{{#template_params:
 
{{#template_params:
 
image        (label=Image, type=wiki-file)
 
image        (label=Image, type=wiki-file)
Line 60: Line 61:
 
}}
 
}}
 
</noinclude>
 
</noinclude>
 
 
<includeonly>
 
<includeonly>
 
 
{{#cargo_store:_table      =IMTU}}
 
{{#cargo_store:_table      =IMTU}}
{{#template_display:_format =InfoboxForIMTU}}
 
 
 
</includeonly>
 
</includeonly>
 
 
<noinclude>
 
<noinclude>
 
[[Category: Infobox|IMTU]]
 
[[Category: Infobox|IMTU]]

Latest revision as of 16:17, 7 December 2023


This template defines the table "IMTU". View table. This is the "InfoboxIMTU" template.

It should be called in the following format:

{{InfoboxIMTU
|image=
|title=
|description=
|status=
|IMTU_code=
|originator=
|contributors=
|start_year=
|end_year=
|language=
|platform=
|tags=
|search_terms=
}}

Edit the page to see the template text.

Template:InfoboxForIMTU

62px-Information icon.svg.png This article is incomplete meaning it lacks important features, structure, or content. More work needs to be done to make this a good article. This is step 4. in the article refinement process.

Template:InfoboxIMTU/doc