Jump to content

Template:Infobox Technology: Difference between revisions

From Semantic Stargate Wiki
Content deleted Content added
mNo edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 21: Line 21:
}}<!--
}}<!--
-->}}<!--
-->}}<!--
-->}}</div>{{Infobox/startbox}}
-->}}</div>{{Infobox
| name = Infobox Technology
{{Infobox/title
| [[Name::{{#if: {{{title|{{PAGENAME}}}}} | {{{title}}} | {{PAGENAME}} }}]]
| above = {{#if: {{{title|{{PAGENAME}}}}} | {{{title}}} | {{PAGENAME}} }}

}}
| subheaderstyle = background-color: #7373CE;
{{Infobox/optional subtitle<!-- semantic data -->
| 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]] }}
| 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]]
| {{{hallucination|}}}
| data2 = {{{manufacturer|}}}

| 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
| {{{manufacturer|}}}
| data14 = {{{weight|}}}

| {{{manufacturer}}}
| label15 = {{#if: {{#pos:{{{power|}}}| <br }} | Power sources | Power source }}
}}
| data15 = {{{power|}}}
{{Infobox/optional dual line

| Designer
| label16 = {{#if: {{#pos:{{{material|}}}| <br }} | Materials | Material }}
| {{{designer|}}}
| {{{designer}}}
| data16 = {{{material|}}}

}}
| header40 = {{#if: {{{role|}}}{{{firstuse|}}}{{{affiliation|}}} | Usage }}
{{Infobox/optional subtitle

| Technical specifications
| label41 = {{#if: {{#pos:{{{role|}}}| <br }} | Roles | Role }}
| {{{control|}}}{{{function}}}{{{size|}}}{{{material|}}}{{{weight|}}}{{{power|}}}
| data41 = {{{role|}}}
| {{#ifeq:{{{spoiler|}}}|true|E18F77|{{#if: {{{separate|}}}|DDA0DD|}}}}

}}
| label44 = Year introduced
{{Infobox/optional dual line
| data44 = {{{firstuse|}}}
| Control systems

| {{{control|}}}
| label45 = Affiliation
| {{{control}}}
| data45 = {{{affiliation|}}}
}}

{{Infobox/optional dual line
| header50 = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the ''Stargate'' universe}}
| Function(s)

| {{{function|}}}
| label51 = First mention
| {{{function}}}
| data51 = {{{mention|}}}
}}

{{Infobox/optional dual line
| label52 = First appearance
| Made of
| {{{material|}}}
| data52 = {{{appearance|}}}

| {{{material}}}
}}
}}<!--

{{Infobox/optional dual line
Retrieving the "name" property from the infobox
| Size

| {{{size|}}}
-->{{#if: {{{title|{{PAGENAME}}}}} | {{#set: name = {{{title}}} }} | {{#set: name = {{PAGENAME}} }} }}<!--
| {{{size}}}

}}
Retrieving the "infobox image" from the template
{{Infobox/optional dual line

| Weight
-->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image|}}} }} }}<!--
| {{{weight|}}}

| {{{weight}}}
Defining the canonicity of the technology
}}

{{Infobox/optional dual line
-->{{#set: Canon technology = {{#if:{{{separate|}}}|no|yes}} }}</includeonly><noinclude>
| 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>

Latest revision as of 09: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