Template:Infobox Technology: Difference between revisions

From Semantic Stargate Wiki
mNo edit summary
No edit summary
Line 21: Line 21:
         }}<!--  
         }}<!--  
     -->}}<!--  
     -->}}<!--  
  -->}}</div>{{Infobox/startbox}}
  -->}}</div> | name            = Infobox Spaceship
{{Infobox/title
  | above          = {{#if: {{{title|{{PAGENAME}}}}} | {{{title}}} | {{PAGENAME}} }} }}
  | [[Name::{{#if: {{{title|{{PAGENAME}}}}} | {{{title}}} | {{PAGENAME}} }}]]
 
}}
| subheaderstyle  = background-color: #7373CE;
{{Infobox/optional subtitle<!-- semantic data -->
  | subheader      = {{#if: {{{alternate timeline|}}} | This technology is part of an [[Technology part of::alternate timeline]] }}
  | This technology is part of an [[Technology part of::Alternate timeline]]
| subheaderstyle2 = background-color: #7373CE;
  | {{{alternate timeline|}}}
  | subheader2      = {{#if: {{{alternate reality|}}} | This technology is part of an [[Technology part of::alternate reality]] }}
| 7373CE
  | subheaderstyle3 = background-color: #7373CE;
| FFFFFF
  | subheader3      = {{#if: {{{hallucination|}}} | This technology is part of an [[Technology part of::hallucination]] }}
}}
 
{{Infobox/optional subtitle<!-- semantic data -->
| headerstyle    = background-color: #E1E1E1;
| This technology is part of an [[Technology part of::Alternate reality]]
  | image          = {{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}} | {{{image}}} }}|size={{#if: {{{image size|330}}} | {{{image size|330}}}px | 330px }}|sizedefault=frameless|alt={{{alt|}}}}}
| {{{alternate reality|}}}
| caption        = {{{caption|}}}
  | 7373CE
 
  | FFFFFF
  | header1        = {{#if: {{{manufacturer|}}}{{{designer|}}} | Production information }}
}}
 
{{Infobox/optional subtitle<!-- semantic data -->
| label2          = {{#if: {{#pos:{{{manufacturer|}}}| <br }} | Manufacturers | Manufacturer }}
| This technology is part of an [[Technology part of::hallucination]]
  | data2          = {{{manufacturer|}}}
  | {{{hallucination|}}}
 
| 7373CE
  | label3          = {{#if: {{#pos:{{{designer|}}}| <br }} | Designers | Designer }}
| FFFFFF
  | data3          = {{{designer|}}}
}}
 
{{Infobox/image
  | header10        = {{#if: {{{control|}}}{{{function}}}{{{size|}}}{{{material|}}}{{{weight|}}}{{{power|}}} | Technical specifications }}
| {{{image|}}}
 
| {{{caption|}}}
  | label11        = {{#if: {{#pos:{{{control|}}}| <br }} | Control systems | Control system }}
| 280
  | data11          = {{{control|}}}
| Image of the technology
 
}}
  | label12        = {{#if: {{#pos:{{{function|}}}| <br }} | Functions | Function }}
{{Infobox/optional subtitle
  | data12          = {{{function|}}}
| Production informations
 
| {{{manufacturer|}}}{{{designer|}}}
| label13        = Size
  | {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}
  | data13          = {{{size|}}}
}}
 
{{Infobox/optional dual line
  | label14        = Weight
| Manufacturer
  | data14          = {{{weight|}}}
  | {{{manufacturer|}}}
 
  | {{{manufacturer}}}
  | label15        = {{#if: {{#pos:{{{power|}}}| <br }} | Power sources | Power source }}
}}
  | data15          = {{{power|}}}
{{Infobox/optional dual line
 
| Designer
  | header40        = {{#if: {{{role|}}}{{{firstuse|}}}{{{affiliation|}}} | Usage }}
  | {{{designer|}}}
 
  | {{{designer}}}
  | label41        = {{#if: {{#pos:{{{role|}}}| <br }} | Roles | Role }}
}}
  | data41          = {{{role|}}}
{{Infobox/optional subtitle
 
| Technical specifications
  | label44        = Year introduced
| {{{control|}}}{{{function}}}{{{size|}}}{{{material|}}}{{{weight|}}}{{{power|}}}
  | data44          = {{{firstuse|}}}
  | {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}
 
}}
| label45        = Affiliation
{{Infobox/optional dual line
| data45          = {{{affiliation|}}}
| Control systems
 
  | {{{control|}}}
  | header50        = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the ''Stargate'' universe}}
  | {{{control}}}
 
}}
  | label51        = First mention
{{Infobox/optional dual line
  | data51          = {{{mention|}}}
| Function(s)
 
  | {{{function|}}}
  | label52        = First appearance
  | {{{function}}}
| data52          = {{{appearance|}}}
}}
 
{{Infobox/optional dual line
}}<!--
  | Made of
 
  | {{{material|}}}
Retrieving the "name" property from the infobox
  | {{{material}}}
 
}}
  -->{{#if: {{{title|{{PAGENAME}}}}} | {{#set: name = {{{title}}} }} | {{#set: name = {{PAGENAME}} }} }} }}<!--
{{Infobox/optional dual line
 
| Size
Retrieving the "infobox image" from the template
  | {{{size|}}}
 
  | {{{size}}}
-->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image|}}} }} }}<!--
}}
 
{{Infobox/optional dual line
Defining the canonicity of the technology
| Weight
 
| {{{weight|}}}
-->{{#set: Canon technology = {{#if:{{{separate|}}}|no|yes}} }}</includeonly><noinclude>
| {{{weight}}}
}}
{{Infobox/optional dual line
| Power source
  | {{{power|}}}
  | {{{power}}}
}}
{{Infobox/optional subtitle
  | Usage
  | {{{firstuse|}}}{{{affiliation|}}}
  | {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}
}}
{{Infobox/optional dual line
  | Year introduced
  | {{{firstuse|}}}
  | {{{firstuse}}}
}}
{{Infobox/optional dual line
| Affiliation
  | {{{affiliation|}}}
| {{{affiliation}}}
}}
{{Infobox/endbox}}{{#if: {{{image|}}} | [[Infobox image::{{{image|}}} | ]]}}</includeonly><noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Revision as of 03:35, 24 February 2022

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Syntax

{{Infobox Technology
 | nocat              = 
 | sort               = 
 | spoiler            = 
 | separate           = 
 | category           = 
 | title              = 
 | alternate timeline = 
 | alternate reality  = 
 | hallucination      = 
 | image              = 
 | image size         = 
 | caption            = 
<!-- PRODUCTION INFORMATION -->
 | manufacturer       = 
 | designer           = 
<!-- TECHNICAL SPECIFICATIONS -->
 | control            = 
 | function           = 
 | size               = 
 | weight             = 
 | power              = 
 | material           = 
<!-- USAGE -->
 | role               = 
 | firstuse           = 
 | affiliation        = 
<!-- INFORMATION NON LINKED TO THE STARGATE UNIVERSE -->
 | mention            = 
 | appearance         = 
}}

See also