Template:HR

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(add ability to suppress the HR: at the beginning)
(+example of last change)
Line 60: Line 60:
| <code><nowiki>{{HR|toon|Strong Bad is in Jail Cartoon|}}</nowiki></code>
| <code><nowiki>{{HR|toon|Strong Bad is in Jail Cartoon|}}</nowiki></code>
| {{HR|toon|Strong Bad is in Jail Cartoon|}}
| {{HR|toon|Strong Bad is in Jail Cartoon|}}
 +
|-
 +
| <code><nowiki>{{watch|{{HR|toon|Strong Bad is in Jail Cartoon|}}}}</nowiki></code>
 +
| {{watch|{{HR|toon|Strong Bad is in Jail Cartoon|}}}}
|}
|}
</noinclude>
</noinclude>

Revision as of 06:08, 7 February 2021


This template generates the text for the target of a link to the official site. Note that you must put brackets around it for it to return a link.

Inputs
1 = Toon type:
toon (generic toon) (default)
sbe (Strong Bad Email)
mam (Marzipan's Answering Machine)
tgs (Teen Girl Squad)
2 = Local page name (default: current page name)
3 = Set blank to suppress the HR: (for inclusion on a template that already has it)
Usage examples
Code Output
{{HR|toon|3 Times Halloween Funjob}} HR:toons/3-times-halloween-funjob
[[{{HR|toon|3 Times Halloween Funjob}}]] HR:toons/3-times-halloween-funjob
[[{{HR|toon|3 Times Halloween Funjob}}|watch]] watch
{{HR|sbe|rampage}} HR:sbemails/128-rampage
[[{{HR|sbe|rampage}}]] HR:sbemails/128-rampage
{{HR|mam|Marzipan's Answering Machine Version 17.2}} HR:toons/marzipans-answering-machine-17
[[{{HR|mam|Marzipan's Answering Machine Version 17.2}}]] HR:toons/marzipans-answering-machine-17
{{HR|tgs|Teen Girl Squad Issue 10}} HR:toons/issue-10
[[{{HR|tgs|Teen Girl Squad Issue 10}}]] HR:toons/issue-10
{{HR|toon}} on Cheat Commandos (toon) HR:toons/cheat-commandos
[[{{HR}}|watch]] on Cheat Commandos (toon) watch
{{HR|toon|Strong Bad is in Jail Cartoon|}} toons/strong-bad-is-in-jail-cartoon
{{watch|{{HR|toon|Strong Bad is in Jail Cartoon|}}}} watch


Personal tools