Template:Infobox Technology: Difference between revisions
(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 | -->}}</div>{{Infobox | ||
| name = Infobox Technology | |||
| {{#if: {{{title|{{PAGENAME}}}}} | {{{title}}} | {{PAGENAME}} }} | | above = {{#if: {{{title|{{PAGENAME}}}}} | {{{title}}} | {{PAGENAME}} }} | ||
| subheaderstyle = background-color: #7373CE; | |||
| This technology is part of an [[Technology part of:: | | subheader = {{#if: {{{alternate timeline|}}} | This technology is part of an [[Technology part of::alternate timeline]] }} | ||
| {{{alternate | | subheaderstyle2 = background-color: #7373CE; | ||
| subheader2 = {{#if: {{{alternate reality|}}} | This technology is part of an [[Technology part of::alternate reality]] }} | |||
| subheaderstyle3 = background-color: #7373CE; | |||
| subheader3 = {{#if: {{{hallucination|}}} | This technology is part of an [[Technology part of::hallucination]] }} | |||
| headerstyle = background-color: #E1E1E1; | |||
| 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|}}} | ||
| | |||
}} | | header1 = {{#if: {{{manufacturer|}}}{{{designer|}}} | Production information }} | ||
| label2 = {{#if: {{#pos:{{{manufacturer|}}}| <br }} | Manufacturers | Manufacturer }} | |||
| {{{ | | data2 = {{{manufacturer|}}} | ||
| label3 = {{#if: {{#pos:{{{designer|}}}| <br }} | Designers | Designer }} | |||
}} | | data3 = {{{designer|}}} | ||
{{ | |||
| header10 = {{#if: {{{control|}}}{{{function}}}{{{size|}}}{{{material|}}}{{{weight|}}}{{{power|}}} | Technical specifications }} | |||
| label11 = {{#if: {{#pos:{{{control|}}}| <br }} | Control systems | Control system }} | |||
| data11 = {{{control|}}} | |||
}} | |||
| label12 = {{#if: {{#pos:{{{function|}}}| <br }} | Functions | Function }} | |||
| data12 = {{{function|}}} | |||
| {{# | | label13 = Size | ||
| data13 = {{{size|}}} | |||
| label14 = Weight | |||
| {{{manufacturer|}}} | | data14 = {{{weight|}}} | ||
| {{{ | |||
}} | | label15 = {{#if: {{#pos:{{{power|}}}| <br }} | Power sources | Power source }} | ||
| data15 = {{{power|}}} | |||
| {{{designer|}}} | | label16 = {{#if: {{#pos:{{{material|}}}| <br }} | Materials | Material }} | ||
| {{ | | data16 = {{{material|}}} | ||
| header40 = {{#if: {{{role|}}}{{{firstuse|}}}{{{affiliation|}}} | Usage }} | |||
| label41 = {{#if: {{#pos:{{{role|}}}| <br }} | Roles | Role }} | |||
| {{# | | data41 = {{{role|}}} | ||
}} | |||
| label44 = Year introduced | |||
| data44 = {{{firstuse|}}} | |||
| {{{control|}}} | |||
| {{{ | | label45 = Affiliation | ||
}} | | data45 = {{{affiliation|}}} | ||
| header50 = {{#if: {{{mention|}}}{{{appearance|}}} | Information non linked to the ''Stargate'' universe}} | |||
| {{{function|}}} | |||
| {{{ | | label51 = First mention | ||
}} | | data51 = {{{mention|}}} | ||
| | | label52 = First appearance | ||
| {{{ | | data52 = {{{appearance|}}} | ||
| {{{ | |||
}} | }}<!-- | ||
Retrieving the "name" property from the infobox | |||
| {{{ | |||
| {{{ | -->{{#if: {{{title|{{PAGENAME}}}}} | {{#set: name = {{{title}}} }} | {{#set: name = {{PAGENAME}} }} }}<!-- | ||
}} | |||
Retrieving the "infobox image" from the template | |||
| {{{ | -->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image|}}} }} }}<!-- | ||
| {{{ | |||
}} | Defining the canonicity of the technology | ||
{{ | |||
-->{{#set: Canon technology = {{#if:{{{separate|}}}|no|yes}} }}</includeonly><noinclude> | |||
| {{{ | |||
| {{{ | |||
}} | |||
| | |||
| {{{firstuse|}}}{{{affiliation|}}} | |||
| {{# | |||
| | |||
| {{{ | |||
| {{{ | |||
}} | |||
}} | |||
{{ | |||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Latest revision as of 03:43, 24 February 2024
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
The above documentation is transcluded from Template:Infobox Technology/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |