Difference between revisions of "Template:Infobox class/doc"

From EVE University Wiki
Jump to: navigation, search
m (Update for {{Infobox CORE class}} change.)
m (Rewrite for use of {{Infobox}}.)
Line 1: Line 1:
{{cleanup|Update infobox code to use [[Template:Infobox]]. [[User:Arin Mara|Arin Mara]] ([[User talk:Arin Mara|talk]]) 18:17, 11 May 2022 (UTC)}}
+
; Description
;Description
+
: This template is used to create an Infobox for [[CORE classes]].
:This template is used to create an Infobox for [[CORE classes]].
+
 
;Dependencies:<!-- delete if N/A -->
+
; Dependencies
:* [[Template:InfoboxCSS]]
+
:; Uses
;Syntax
+
:: {{T|Infobox}}
 +
 
 +
; Syntax
 
<pre><nowiki>{{Infobox CORE class
 
<pre><nowiki>{{Infobox CORE class
 
| class name      =
 
| class name      =
Line 17: Line 19:
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
; Parameters
+
: Unused parameters will not be shown in the infobox
: <code>class name</code>
+
:; class name : The name of the class.
:: The name of the class.
+
:; class page name : The name of the class article page.
: <code>class page name</code>
+
:; image : The name of CORE class image, with extension and without parenthesis.
:: The name of the class page.
+
:; size : image size in px, default is 250px. Leave blank unless you have a very good reason. Use sparingly!
: <code>image</code>
+
:; caption : Caption under the image. Leave blank unless you have a very good reason. Use sparingly!
:: The name of CORE class image page, with extension and without parenthesis.
+
:; summary : A short description of the class, its goals and desired outcomes.
: <code>size</code>
+
:; reading list : A list of hyperlinks to adjacent pages; a recommended reading list.
:: <code>image</code> size. Leave blank unless you have a very good reason. Use sparingly!
+
:; slides link : URI pointing to the Google Drive slides without parenthesis.
: <code>caption</code>
+
:; video link : URI pointing to the YouTube video without parenthesis.
:: Caption under the image.
+
 
: <code>summary</code>
+
; Sample
:: A short description of the class, its goals and desired outcomes.
 
: <code>reading list</code>
 
:: A list of hyperlinks to adjacent pages; a recommended reading list.
 
: <code>slides link</code>
 
:: URI pointing to the Google Drive slides without parenthesis.
 
: <code>video link</code>
 
:: URI pointing to the YouTube video without parenthesis.
 
;Sample output
 
 
{{Infobox CORE class
 
{{Infobox CORE class
 
| class name      = Exploration
 
| class name      = Exploration
Line 54: Line 48:
 
| slides link    = https://drive.google.com/file/d/1olAOEw_P_2WYlPbWaNo5KBuUTYzFh3NN/view?usp=sharing
 
| slides link    = https://drive.google.com/file/d/1olAOEw_P_2WYlPbWaNo5KBuUTYzFh3NN/view?usp=sharing
 
| video link      = https://www.youtube.com/watch?v=WX_XGqLJ6y4
 
| video link      = https://www.youtube.com/watch?v=WX_XGqLJ6y4
}}</nowiki></pre>
+
}}</nowiki></pre>{{Clear}}
 
+
If the summary, slides, video or any other component is missing, feel free to leave it blank.
If the summary, slides, video or any other component is missing, feel free to leave a it blank.
 
 
{{Infobox CORE class
 
{{Infobox CORE class
 
| class name      = Exploration
 
| class name      = Exploration
Line 75: Line 68:
 
| video link      =
 
| video link      =
 
}}</nowiki></pre>
 
}}</nowiki></pre>
;See also:
 
:* [[Template:CORE class]]
 
:* [[Template:Infobox agent]]
 
  
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
+
<includeonly>[[Category:Infobox templates]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 14:21, 9 June 2022

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
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      =
}}