Difference between revisions of "Template:UG"

From Wikispooks
Jump to navigation Jump to search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
'''Template:UG''', for linking to the [http://UnwelcomeGuests.net Unwelcome Guests] radio show.
+
This makes a link to the [http://UnwelcomeGuests.net Unwelcome Guests] radio show.
 
The different sections of the template begin with a '|' character. i.e.
 
The different sections of the template begin with a '|' character. i.e.
 
<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 link to a '''cat'''egory or a single '''show''' (the default)
+
<br/><font face="courier">|type=</font face="courier">{cat, episode} for link to a '''cat'''egory or a single '''episode''' (the default)
  
Example:
+
Episode example:
 +
 
 +
<font face="courier"><nowiki> {{UG |link=517 |type=episode |desc=the assassination of [[JFK]]}} </nowiki></font>=>{{UG |link=517 |type=episode |desc=the assassination of [[JFK]]}}
 +
 
 +
Category example:
  
 
<font face="courier"><nowiki> {{UG |link=Category:War |type=cat |desc=war}} </nowiki></font> => {{UG |link=Category:War |type=cat |desc=war}}
 
<font face="courier"><nowiki> {{UG |link=Category:War |type=cat |desc=war}} </nowiki></font> => {{UG |link=Category:War |type=cat |desc=war}}

Revision as of 16:17, 20 March 2012

This makes a link 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, episode} for link to a category or a single episode (the default)

Episode example:

{{UG |link=517 |type=episode |desc=the assassination of [[JFK]]}} =>

Category example:

{{UG |link=Category:War |type=cat |desc=war}} =>