Difference between revisions of "Template:UG"

From Wikispooks
Jump to navigation Jump to search
(Examples of each different type)
Line 5: Line 5:
 
<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, episode, person} for link to a '''cat'''egory, a single '''episode''' (the default) or a '''person'''
 
<br/><font face="courier">|type=</font face="courier">{cat, episode, person} for link to a '''cat'''egory, a single '''episode''' (the default) or a '''person'''
 +
 +
==Category example==
 +
 +
<font face="courier"><nowiki> {{UG |link=War |type=cat |desc=war}} </nowiki></font> => {{UG |link=Category:War |type=cat |desc=war}}
  
 
==Episode example==
 
==Episode example==
Line 10: Line 14:
 
<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==
+
==Person 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=Peter_Dale_Scott |type=person |desc=Peter Dale Scott}} </nowiki></font> => {{UG |link=Peter_Dale_Scott |type=person |desc=Peter Dale Scott}}
  
 
</noinclude>
 
</noinclude>

Revision as of 16:43, 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, person} for link to a category, a single episode (the default) or a person

Category example

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

Episode example

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

Person example

{{UG |link=Peter_Dale_Scott |type=person |desc=Peter Dale Scott}} =>