Template:sbemail

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(+#200: email thunder)
(modified "last" and gave a default condition (that i think will work))
Line 4: Line 4:
Enter the number of the [[Strong Bad Email]] to return its name. Note that you must put brackets around it for it to return a link.
Enter the number of the [[Strong Bad Email]] to return its name. Note that you must put brackets around it for it to return a link.
-
'''Examples:'''
+
{| class=wikitable
-
*<code><nowiki>{{sbemail|1}}</nowiki></code> ''returns:'' {{sbemail|1}}
+
|+ '''Usage examples'''
-
*<code><nowiki>[[{{sbemail|1}}]]</nowiki></code> ''returns:'' [[{{sbemail|1}}]]
+
|-
-
*<code><nowiki>{{sbemail|last}}</nowiki></code> ''returns:'' {{sbemail|last}}
+
! Code
-
*<code><nowiki>[[{{sbemail|last}}]]</nowiki></code> ''returns:'' [[{{sbemail|last}}]]</noinclude><includeonly>{{#switch:{{{1}}}
+
! Output
 +
|-
 +
| <code><nowiki>{{sbemail|1}}</nowiki></code>
 +
| {{sbemail|1}}
 +
|-
 +
| <code><nowiki>[[{{sbemail|1}}]]</nowiki></code>
 +
| [[{{sbemail|1}}]]
 +
|-
 +
| <code><nowiki>{{sbemail|last}}</nowiki></code>
 +
| {{sbemail|last}}
 +
|-
 +
| <code><nowiki>[[{{sbemail|last}}]]</nowiki></code>
 +
| [[{{sbemail|last}}]]
 +
|-
 +
| <code><nowiki>{{sbemail}}</nowiki></code>
 +
| {{sbemail}}
 +
|}
 +
 
 +
</noinclude><includeonly>{{#switch:{{{1}}}
| 1 = some kinda robot
| 1 = some kinda robot
| 2 = homsar
| 2 = homsar
Line 208: Line 226:
| 198 = magic trick
| 198 = magic trick
| 199 = being mean
| 199 = being mean
 +
| last
 +
| #default
| 200 = email thunder
| 200 = email thunder
<!-- when adding a new email, please update the value of "last" on the next line-->
<!-- when adding a new email, please update the value of "last" on the next line-->
-
| last = email thunder
 
-
| some kinda robot
 
}}</includeonly>
}}</includeonly>

Revision as of 01:50, 5 April 2009

Usage

Enter the number of the Strong Bad Email to return its name. Note that you must put brackets around it for it to return a link.

Usage examples
Code Output
{{sbemail|1}} some kinda robot
[[{{sbemail|1}}]] some kinda robot
{{sbemail|last}} The Next April Fools Thing
[[{{sbemail|last}}]] The Next April Fools Thing
{{sbemail}} some kinda robot


Personal tools