Difference between revisions of "Template:UG"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
<br/><font face="courier">|link=</font face="courier">The address of the link (name of the end of the URL (e.g. 517) | <br/><font face="courier">|link=</font face="courier">The address of the link (name of the end of the URL (e.g. 517) | ||
<br/><font face="courier">|desc=</font face="courier">Description | <br/><font face="courier">|desc=</font face="courier">Description | ||
− | <br/><font face="courier">|type=</font face="courier">{cat, show} for | + | <br/><font face="courier">|type=</font face="courier">{cat, show} for link to a '''cat'''egory or a single '''show''' (the default) |
</noinclude> | </noinclude> | ||
− | <includeonly>{{#if: {{{link|}}} | {{#if: {{{desc|}}} | {{#ifeq: {{{type|}}} | cat | * Set of radio shows about {{{desc|}}} | * Radio show about {{desc|}} }} | <font color="red">Missing 'desc' parameter</font> }} | + | <includeonly>{{#if: {{{link|}}} | {{#if: {{{desc|}}} | {{#ifeq: {{{type|}}} | cat | * [http://UnwelcomeGuests.net/{{{link}}} Set of radio shows about {{{desc|}}}] | * [http://UnwelcomeGuests.net/{{{link}}} Radio show about {{desc|}}] }} | <font color="red">Missing 'desc' parameter</font> }} |
| <font color="red">Missing 'link' parameter</font> }} | | <font color="red">Missing 'link' parameter</font> }} |
Revision as of 16:09, 20 March 2012
Template:UG, for linking to the Unwelcome Guests radio show.
The different sections of the template begin with a '|' character. i.e.
|link=The address of the link (name of the end of the URL (e.g. 517)
|desc=Description
|type={cat, show} for link to a category or a single show (the default)