Difference between revisions of "Template:Infobox CORE class"

From EVE University Wiki
Jump to: navigation, search
(Removed the (CORE class) suffix from class name)
m (Fix caption.)
 
(7 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: #d2801e;
|- style="text-align:center"
+
  background-image: -moz-linear-gradient(center top, #d2801e 0%, #653f03 100%);
{{#if: {{{caption|}}} | {{!}} colspan="2" style="padding:0.5em;" {{!}} ''{{{caption|}}}'' }}
+
  background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#d2801e), color-stop(100%,#653f03));
|-
+
  background-image: -webkit-linear-gradient(top, #d2801e 0%, #653f03 100%);
! colspan="2" class="infoboxdescriptionorange" | Details
+
  background-image: -o-linear-gradient(top, #d2801e 0%, #653f03 100%);
|-
+
  background-image: -ms-linear-gradient(top, #d2801e 0%, #653f03 100%);
{{#if: {{{summary|}}} | {{!}} width=80 {{!}} <div>Summary</div> {{!!}} {{{summary}}} }}
+
  background-image: linear-gradient(to bottom, #d2801e 0%, #653f03 100%);
|-
+
  color: #000000;
{{#if: {{{reading list|}}} | {{!}} <div>Reading list</div> {{!!}} {{{reading list}}} }}
+
 
|-
+
| title          =
{{#if: {{{author|}}} | {{!}} <div>Author</div> {{!!}} {{{author}}} }}
+
| above          = {{#if: {{{class name|}}}
|-
+
                    | {{#if: {{{class page name|}}}
{{#if: {{{slides link|}}} | {{!}} <div>Slides</div> {{!!}} [{{{slides link}}} PDF] }}
+
                      | [[{{{class page name}}}|{{{class name}}}]]
|-
+
                      | Class page name ?
{{#if: {{{video link|}}} | {{!}} <div>ToT Video</div> {{!!}} [{{{video link}}} YouTube] }}
+
                      }}
|}{{InfoboxCSS}}</includeonly><noinclude>
+
                    | Class name ?
 +
                  }}
 +
 
 +
| image      = {{#if: {{{image|}}}
 +
                | [[File:{{{image}}}|{{#if: {{{size|}}}
 +
                                      | {{{size}}}
 +
                                      | 250px
 +
                                      }}|link={{{class page name}}}]]
 +
                }}
 +
 
 +
| caption    = {{#if: {{{caption|}}}
 +
                |{{{caption}}}
 +
                }}
 +
 
 +
| headerstyle =
 +
  background: #d2801e;
 +
  background-image: -moz-linear-gradient(center top, #d2801e 0%, #653f03 100%);
 +
  background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#d2801e), color-stop(100%,#653f03));
 +
  background-image: -webkit-linear-gradient(top, #d2801e 0%, #653f03 100%);
 +
  background-image: -o-linear-gradient(top, #d2801e 0%, #653f03 100%);
 +
  background-image: -ms-linear-gradient(top, #d2801e 0%, #653f03 100%);
 +
  background-image: linear-gradient(to bottom, #d2801e 0%, #653f03 100%);
 +
  color: #000000;
 +
 
 +
| header1    = Details
 +
 
 +
|  label2    = Summary
 +
|  data2    = {{{summary|}}}
 +
 
 +
| label3    = Reading list
 +
|  data3    = {{{reading list|}}}
 +
 
 +
| label4    = Slides
 +
|  data4    = {{#if: {{{slides link|}}}
 +
                | [{{{slides link|}}} PDF]
 +
                }}
 +
 
 +
| label5    = ToT video
 +
|  data5    = {{#if: {{{video link|}}}
 +
                | [{{{video link|}}} YouTube]
 +
                }}
 +
 
 +
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:18, 9 June 2022

Class name ?
Details
Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to create an Infobox for CORE classes.
Dependencies
Uses
{{Infobox}}
Syntax
{{Infobox CORE class
| class name      =
| class page name =
| image           =
| size            = 
| caption         =
| summary         =
| reading list    =
| slides link     =
| video link      =
}}
Unused parameters will not be shown in the infobox
class name
The name of the class.
class page name
The name of the class article page.
image
The name of CORE class image, with extension and without parenthesis.
size
image size in px, default is 250px. Leave blank unless you have a very good reason. Use sparingly!
caption
Caption under the image. Leave blank unless you have a very good reason. Use sparingly!
summary
A short description of the class, its goals and desired outcomes.
reading list
A list of hyperlinks to adjacent pages; a recommended reading list.
slides link
URI pointing to the Google Drive slides without parenthesis.
video link
URI pointing to the YouTube video without parenthesis.
Sample
Exploration
Core class EXPLORATION.png
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
ToT video YouTube
{{Infobox CORE 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 link     = https://drive.google.com/file/d/1olAOEw_P_2WYlPbWaNo5KBuUTYzFh3NN/view?usp=sharing
| 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.

Exploration
Core class EXPLORATION.png
Details
Reading list Exploration, Wormhole
{{Infobox CORE class
| class name      = Exploration
| class page name = Exploration (CORE class)
| image           = Core class EXPLORATION.png
| summary         =
| reading list    = [[Exploration]], [[Wormhole]]
| slides link     =
| video link      =
}}
Visit Template:Infobox CORE class/doc to edit this text! (How does this work?) (Refresh this text - why?)