Difference between revisions of "Template:UG"

From Wikispooks
Jump to navigation Jump to search
m
m
Line 6: Line 6:
 
<br/><font face="courier">|type=</font face="courier">{cat, episode} for link to a '''cat'''egory or a single '''episode''' (the default)
 
<br/><font face="courier">|type=</font face="courier">{cat, episode} for link to a '''cat'''egory or a single '''episode''' (the default)
  
Episode 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}}  
+
<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:
+
==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:19, 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}} =>