Template:head

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(added no image documentation)
(missed one; use new cat)
 
(includes 3 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 8: Line 8:
If you have no image:  
If you have no image:  
-
  &#123;{head|DJ Teh Cheat|noimg=true}}
+
  &#123;{head|DJ Teh Cheat}}
Gives:
Gives:
-
:{{head|DJ Teh Cheat|noimg=true}}
+
:{{head|DJ Teh Cheat}}
-
[[Category:Formatting Templates]]</noinclude>
+
[[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