Difference between revisions of "Template:Technology"

Template page
(Created page with "<div class="infobox"> {| class="ibtable" align="right" cellpadding="3" cellspacing="0" {{#if: {{{seal|}}}| {{!}} class="ibimage" colspan="2" style="border-top-right-radius...")
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
{{#if: {{{seal|}}}|
    {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
    {{!}}-
    {{!}} class="ibname" colspan="2" {{!}} '''{{{name}}}'''|
        {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''{{{name}}}'''
}}
|-
{{#if:{{{category|}}}|
{{!}} class="ibleft" {{!}} Category
{{!}} class="ibright" {{!}} {{{category}}} }}
|-
{{#if:{{{inventor|}}}|
{{!}} class="ibleft" {{!}} Inventor
{{!}} class="ibright" {{!}} {{{inventor}}} }}
|-
{{#if:{{{institute|}}}|
{{!}} class="ibleft" {{!}} Institute
{{!}} class="ibright" {{!}} {{{institute}}} }}
|-
{{#if:{{{year|}}}|
{{!}} class="ibleft" {{!}} Year
{{!}} class="ibright" {{!}} {{{year}}} }}
|-
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Technology]]
|}</div>
<includeonly>
<includeonly>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Technology]]{{#if: {{{category|}}}|[[Category:{{{category}}}]]|<!-- do nothing -->}}{{#if: {{{institute|}}}|[[Category:{{{institute}}}]]|<!-- do nothing -->}}{{DEFAULTSORT:{{{name}}}}}
<infobox theme="bravo">
}}
<title source="name">
</includeonly><noinclude>
    <default>{{pagename}}</default><format>{{{name|}}}</format>
==Squadron==
</title>
<image source="image"/>
<data source="category"><label>Category</label><format>{{{category}}}</format></data>
<data source="inventor"><label>Inventor</label><format>{{{inventor}}}</format></data>
<data source="institute"><label>Institute</label><format>{{{institute}}}</format></data>
<data source="year"><label>Year</label><format>{{{year}}}</format></data>
<header name="footer">[[Template:Technology]]</header>
</infobox>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Technology]]{{#if: {{{category|}}}|[[Category:{{{category}}}]]|<!-- do nothing -->}}{{#if: {{{institute|}}}|[[Category:{{{institute}}}]]|<!-- do nothing -->}}{{DEFAULTSORT:{{{name}}}}}}}
</includeonly>
<noinclude>
==Technology==
This infobox code is to assist with articles predominantly about specific and unique technologies. It will also provide autocategorisation for the following fields.
*Category
*Institute
It will also add the article to the Technology category as well.
 
Examples of Category include
*Physics
*Chemistry
*Temporal Mechanics
*Engineering (prefixed with the following)
**Mechanical
**Electrical
**Astronautical (ship design and construction etc)
The list goes on.
<pre>
<pre>
{{Technology
{{Technology
Line 43: Line 41:
==Example==
==Example==
{{Technology
{{Technology
| name = Grandma's Cookies
| name = Fleet Formation
| image =  
| image =  
| category = Treat for good little ravers
| category = Computer Engineering
| inventor = Grandma
| inventor = Admiral Elizabeth Shelby
| institute = [[User:McGig/Sandbox#Starbase_Kickass_and_Associated_Shenanigans|Starbase Kickass School for Culinary Arts]] (Grandma's Kitchen)
| institute = Advanced Starship Design Bureau
| year = Beginning of the universe
| year = 2401
| templatemode = nocats
| templatemode = nocats
}}
}}
Line 54: Line 52:
<pre>
<pre>
{{Technology
{{Technology
| name = Grandma's Cookies
| name = Fleet Formation
| image =  
| image =  
| category = Treat for good little ravers
| category = Computer Engineering
| inventor = Grandma
| inventor = Admiral Elizabeth Shelby
| institute = Starbase Kickass School for Culinary Arts (Grandma's Kitchen)
| institute = Advanced Starship Design Bureau
| year = Beginning of the universe
| year = 2401
}}
}}
</pre>
</pre>

Latest revision as of 02:47, 15 November 2024


Technology

This infobox code is to assist with articles predominantly about specific and unique technologies. It will also provide autocategorisation for the following fields.

  • Category
  • Institute

It will also add the article to the Technology category as well.

Examples of Category include

  • Physics
  • Chemistry
  • Temporal Mechanics
  • Engineering (prefixed with the following)
    • Mechanical
    • Electrical
    • Astronautical (ship design and construction etc)

The list goes on.

{{Technology
| name = 
| image = 
| category = 
| inventor = 
| institute = 
| year = 
}}

Example


The following code produced the infobox to the right.

{{Technology
| name = Fleet Formation
| image = 
| category = Computer Engineering
| inventor = Admiral Elizabeth Shelby
| institute = Advanced Starship Design Bureau
| year = 2401
}}