Template:Infobox Technology: Difference between revisions

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

Latest revision as of 03:43, 24 February 2024

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