Template:SOFinfo: Difference between revisions
Jump to navigation
Jump to search
m (Force cap only first letter of theme) |
m (trying a mediawiki border) |
||
Line 1: | Line 1: | ||
<includeonly><blockquote>{{#if: {{{theme|}}} | '''Theme: {{ucfirst:{{{theme}}}}}'''<br>| }} | <includeonly>{{color box|black|<blockquote>{{#if: {{{theme|}}} | '''Theme: {{ucfirst:{{{theme}}}}}'''<br>| }} | ||
{{#if: {{{item4|}}} |'''Item #1:''' {{{item1}}}{{{link1}}}<br>'''Item #2:''' {{{item2}}}{{{link2}}}<br>'''Item #3:''' {{{item3}}}{{{link3}}}<br>'''Item #4:''' {{{item4}}}{{{link4}}}| '''Item #1:''' {{{item1}}}{{{link1}}}<br>'''Item #2:''' {{{item2}}}{{{link2}}}<br>'''Item #3:''' {{{item3}}}{{{link3}}}}}</blockquote></includeonly> | {{#if: {{{item4|}}} |'''Item #1:''' {{{item1}}}{{{link1}}}<br>'''Item #2:''' {{{item2}}}{{{link2}}}<br>'''Item #3:''' {{{item3}}}{{{link3}}}<br>'''Item #4:''' {{{item4}}}{{{link4}}}| '''Item #1:''' {{{item1}}}{{{link1}}}<br>'''Item #2:''' {{{item2}}}{{{link2}}}<br>'''Item #3:''' {{{item3}}}{{{link3}}}}}</blockquote>}}</includeonly> | ||
<noinclude> | <noinclude> | ||
=== Description === | === Description === |
Revision as of 08:31, 1 March 2022
Description
This template is used in the Episode skeleton to more easily facilitate entering Science or Fiction items' text and article links.
Usage
You can copy/paste the following code into your page.
{{SOFinfo |theme = <!-- delete or leave blank if no theme --> |item1 = <!-- item text from show notes --> |link1 = <ref>[url_from_SoF_show_notes PUBLICATION: TITLE]</ref> |item2 = <!-- item text from show notes --> |link2 = <ref>[url_from_SoF_show_notes PUBLICATION: TITLE]</ref> |item3 = <!-- item text from show notes --> |link3 = <ref>[url_from_SoF_show_notes PUBLICATION: TITLE]</ref> |item4 = <!-- delete or leave blank if no 4th item --> |link4 = <!-- delete or leave blank if no 4th item --> |}}
With all fields filled out, the text will render thus: Template:Color box