Difference between revisions of "Template:Related class"
From EVE University Wiki
(Create new template to insert a text box listing relating classes taught by E-UNI) |
(Added Semantic EVE University logos/emblems) |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | {| style=" | + | <includeonly>{| style="float: right; clear: right; margin-left: 1em; margin-bottom: 1em; border: 1px solid #666666; padding: 0.5em; width: 210px; background-color: #222222; background-image: linear-gradient(#101010, #262626); font-size: 0.9em;" |
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | | {{#show: UniWiki:EVE University Graphics|?Has EVE University emblem#60px}} |
− | |} | + | | EVE University offers<br>{{#if: {{{2|}}} | [[classes]] | a [[classes{{!}}class]] }} on: |
− | + | |- | |
− | + | | colspan=2 | <ul> | |
− | + | {{#if: {{{1|}}} | <li>[[{{{1}}}]]</li> | <li>[[:Category:Classes|Tons of fascinating topics]] }} | |
− | + | {{#if: {{{2|}}} | <li>[[{{{2}}}]]</li> }} | |
− | + | {{#if: {{{3|}}} | <li>[[{{{3}}}]]</li> }} | |
− | + | {{#if: {{{4|}}} | <li>[[{{{4}}}]]</li> }} | |
− | + | {{#if: {{{5|}}} | <li>[[{{{5}}}]]</li> }} | |
− | + | </ul> | |
− | + | |}</includeonly> | |
− | + | <noinclude>{{documentation}}</noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 10:35, 7 October 2023
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- Navigation box to point readers towards pertinent classes offered by EVE University. It produces a small text box with links on the right-hand margin of a page, and should be placed near the top of a page (but below any infoboxes).
- Dependencies
- uses:
- {{!}}
- Syntax
- {{Related class|<class 1>|<class 2>|<class 3>|<class 4>|<class 5>}}
- Usage
- The template can link up to five classes (obviously only link to as many as you think pertinent!). Don't enclose the names of the classes with square brackets; the template will do that for you. Make sure you get the spelling and capitalization of the classes right.
- You can find a list of all classes offered by EVE University at the classes page.
- Advanced Usage
- The syntax above should be sufficient for normal use, but if the classes you would like to link to have very long and cumbersome names, you can use piped links to shorten them. However, as you can't use the pipe character (
|
) to denote a piped link (as the template will think you are passing it the names of two different classes), you have to use the{{!}}
template instead: full class name{{!}}short name
- Sample
{{Related class | Bookmarks (CORE class) }}
:
EVE University offers a class on: | |
{{Related class | Careers (CORE class) | D-Scan (CORE class) | Wormhole Mechanics (Class) }}
:
EVE University offers classes on: | |
{{Related class | Wormhole Mechanics (Class){{!}}Wormhole Mechanics }}
:
EVE University offers a class on: | |
Visit Template:Related class/doc to edit this text! (How does this work?) (Refresh this text - why?)