Template:Category info: Difference between revisions
Jump to navigation
Jump to search
Categorize |
m small tweaks |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#if: {{{icon|}}} | [[File:{{{icon}}}|right|Image info page|200px]]}} | <includeonly>{{#if: {{{icon|}}} | [[File:{{{icon}}}|right|Image info page|200px]]}} | ||
{{#if: {{{text|}}} | {{{text}}}<br><br>}} | {{#if: {{{text|}}} | {{{text}}}<br><br>}} | ||
Titles shown in ''italics'' link straight to podcast segments or SGU 5X5 episodes. The episode number is given in | Titles shown in ''italics'' link straight to podcast segments or SGU 5X5 episodes. The episode number is given in parentheses, '5X5' indicates SGU 5X5 episodes, and 'SoF' and 'WTW' indicated that the topic is covered in a "Science or Fiction" or "What's the Word?" segment. | ||
<noinclude> | </includeonly><noinclude> | ||
=== Description === | === Description === | ||
This template adds a uniform blurb to category pages to explain the listing of categorized links, and includes a 200px width category icon to the right of the page. | This template adds a uniform blurb to category pages to explain the listing of categorized links, and includes a 200px width category icon to the right of the page. | ||
Latest revision as of 01:40, 3 July 2023
Description
This template adds a uniform blurb to category pages to explain the listing of categorized links, and includes a 200px width category icon to the right of the page.
Usage
The variables icon and text are optional:
iconrefers to the file name for the image
textadds page-specific text
For example:
{{Category info
|icon = CatIcon history.png
|text = Things that happened a long, long time ago
}}
Copy
{{Category info
|icon =
|text =
}}