Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox class: Difference between revisions

Template page
Arin Mara (talk | contribs)
Removed the (CORE class) suffix from class name
Change background color to design-token.
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="infoboxtable"
{{Infobox
|-
| name        = <!-- left empty, to NOT have edit links at the bottom of the box.-->
! colspan="2" class="infoboxnameorange" | [[{{{class name}}} (CORE class)|{{{class name}}}]]
 
|- style="text-align:center"
| abovestyle  =
| colspan="2" style="padding:0.5em;" | [[File:{{{image}}}|{{#if: {{{size|}}} | {{{size}}}|275px}}]]
  background-color: var(--background-color-warning-subtle);
|- style="text-align:center"
 
{{#if: {{{caption|}}} | {{!}} colspan="2" style="padding:0.5em;" {{!}} ''{{{caption|}}}'' }}
| above          = {{#if: {{{class name|}}}
|-
                    | {{#if: {{{class page name|}}}
! colspan="2" class="infoboxdescriptionorange" | Details
                      | [[{{{class page name}}}|{{{class name}}}]]
|-
                      | Class page name ?
{{#if: {{{summary|}}} | {{!}} width=80 {{!}} <div>Summary</div> {{!!}} {{{summary}}} }}
                      }}
|-
                    | Class name ?
{{#if: {{{reading list|}}} | {{!}} <div>Reading list</div> {{!!}} {{{reading list}}} }}
                  }}
|-
 
{{#if: {{{author|}}} | {{!}} <div>Author</div> {{!!}} {{{author}}} }}
| image      = {{#if: {{{image|}}}
|-
                | [[File:{{{image}}}|{{#if: {{{size|}}}
{{#if: {{{slides link|}}} | {{!}} <div>Slides</div> {{!!}} [{{{slides link}}} PDF] }}
                                      | {{{size}}}
|-
                                      | 250px
{{#if: {{{video link|}}} | {{!}} <div>ToT Video</div> {{!!}} [{{{video link}}} YouTube] }}
                                      }}|link={{{class page name}}}]]
|}{{InfoboxCSS}}</includeonly><noinclude>
                }}
{{documentation}}
 
| headerstyle =
  background: var(--background-color-warning-subtle);
 
| header1    = {{#if: {{{image|}}}|Details}}
 
|  label2    = Summary
|  data2    = {{{summary|}}}
 
|  label3    = Reading list
|  data3    = {{{reading list|}}}
 
| label4    = Slides
|   data4    = {{#if: {{{slides link|}}} <!-- Deprecated parameter to keep old versions functioning -->
                | [{{{slides link}}} PDF]
                | {{#if: {{{slides pdf|}}}  
                    | [{{{slides pdf}}} PDF]
                  }} {{#if: {{{slides ppt|}}}
                      | [{{{slides ppt}}} PPT]
                      }} {{#if: {{{slides version|}}}
                          | ({{{slides version}}})
                        }}
                }}
 
| label5    = Video
|  data5    = {{#if: {{{video link|}}}
                | [{{{video link|}}} YouTube]
                }}
 
}}<noinclude>
{{Documentation}}  
</noinclude>
</noinclude>

Latest revision as of 07:42, 19 May 2025

Class name ?
Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to create an Infobox for classes.
Dependencies
Uses
{{Infobox}}
Syntax
{{Infobox class
| class name      = 
| class page name = 
| image           = 
| summary         = 
| reading list    = 
| slides pdf      = 
| slides ppt      = 
| slides version  = 
| video link      = 
}}
Required parameters
class name
The name of the class.
class page name
The name of the class article page.
Optional parameters
Omitted or empty optional parameters will not be shown.
image
The name of class image, with extension and without parenthesis.
summary
A short description of the class, its goals and desired outcomes.
reading list
A list of links to related wiki articles; a recommended reading list. When multiple separate by ,<space>
slides pdf
URI pointing to the Google Drive slides (PDF version) without parenthesis.
slides ppt
URI pointing to the Google Drive slides (PPT version) without parenthesis.
slides version
Version date of the slides.
video link
URI pointing to the YouTube video without parenthesis.
Deprecated parameters
When coming by while editing anyway please replace. No need to go editing just because.
slides link
Replaced by slides pdf.
Sample
Exploration
Details
Summary Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec convallis dignissim varius. Pellentesque molestie arcu mattis nisi condimentum congue. Curabitur ut arcu vel ante blandit tincidunt.
Reading list Exploration, Wormhole
Slides PDF (20241213)
Video YouTube
{{Infobox class
| class name      = Exploration
| class page name = Exploration (CORE class)
| image           = Core class EXPLORATION.png
| summary         = Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec convallis dignissim varius. Pellentesque molestie arcu mattis nisi condimentum congue. Curabitur ut arcu vel ante blandit tincidunt.
| reading list    = [[Exploration]], [[Wormhole]]
| slides pdf      = https://drive.google.com/file/d/1olAOEw_P_2WYlPbWaNo5KBuUTYzFh3NN/view?usp=sharing
| slides ppt      = 
| slides version  = 20241213
| video link      = https://www.youtube.com/watch?v=WX_XGqLJ6y4
}}

If the summary, slides, video or any other component is missing, feel free to leave it blank.

Gas Mining
Details
Reading list Gas cloud harvesting
{{Infobox class
| class name      = Gas Mining
| class page name = Gas Mining (Class)
| image           = Class Wiki Gas Mining v1.png
| summary         = 
| reading list    = [[Gas cloud harvesting]]
| slides pdf      = 
| slides ppt      = 
| slides version  = 
| video link      = 
}}
Visit Template:Infobox class/doc to edit this text! (How does this work?) (Refresh this text - why?)