Template:head

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(adding no image capability)
(missed one; use new cat)
 
(includes 4 intermediate revisions)
Line 1: Line 1:
-
<span style="display:none">{{{1}}}</span>{{#if:{{{noimg|}}}|no image|[[Image:{{{2}}}|35px|{{{1}}}]]}}<noinclude>
+
<span style="display:none">{{{1}}}</span>{{#if:{{{2|}}}|[[Image:{{{2}}}|35px|{{{1}}}]]|no image}}<noinclude>
----
----
For [[Quote of the Week]], shows a particular character head, and includes hidden tags for [[HRW:SORT|column sorting]].
For [[Quote of the Week]], shows a particular character head, and includes hidden tags for [[HRW:SORT|column sorting]].
Line 6: Line 6:
  &#123;{head|Homestar Runner|qod 1 - homestar.PNG}}
  &#123;{head|Homestar Runner|qod 1 - homestar.PNG}}
Gives: {{head|Homestar Runner|qod 1 - homestar.PNG}}
Gives: {{head|Homestar Runner|qod 1 - homestar.PNG}}
-
[[Category:Formatting Templates]]</noinclude>
+
 
 +
If you have no image:
 +
&#123;{head|DJ Teh Cheat}}
 +
Gives:
 +
:{{head|DJ Teh Cheat}}
 +
[[Category:Image Formatting Templates|{{PAGENAME}}]]</noinclude>

Current revision as of 21:37, 25 November 2017

{{{1}}}no image


For Quote of the Week, shows a particular character head, and includes hidden tags for column sorting.

Eg:

{{head|Homestar Runner|qod 1 - homestar.PNG}}

Gives: Homestar RunnerHomestar Runner

If you have no image:

{{head|DJ Teh Cheat}}

Gives:

DJ Teh Cheatno image
Personal tools