Difference between revisions of "Template:Fan art"

From CWCki
Jump to navigation Jump to search
(Fix direct link to fan art)
m
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="clear:right; background:#ffffff; width:300px; padding:3px; border:2px solid #33aa33; float:right; font-size:90%">
<div style="clear:right; background:#ffffff; width:300px; padding:3px; border:2px solid #33aa33; float:right; font-size:90%">
[[Image:Fanartn.PNG|left|60px]]
[[Image:Pickles.jpg|left|80px]]
Tired of "[[Good Fan Art]]"? Visit our constantly expanding Gallery of [[:Category:Fan_art|Evil Fan Art]]! There's even a whole section dedicated to {{Fan art link|<includeonly>{{{chris|{{PAGENAME}}}}}|{{{linkname|{{PAGENAME}}}}}</includeonly><noinclude>Yawning Squirtle|Yawning Squirtle</noinclude>}}!</div>
Tired of "[[Good Fan Art]]"? Visit our constantly expanding Gallery of [[:Category:Fan_art|Evil Fan Art]]! There's even a whole section dedicated to {{Fan art link|<includeonly>{{{chris|{{PAGENAME}}}}}|{{{linkname|{{PAGENAME}}}}}</includeonly><noinclude>Yawning Squirtle|Yawning Squirtle</noinclude>}}!</div>


<includeonly>[[Category:Articles with matching fan art categories]]</includeonly><noinclude>
<includeonly>[[Category:Articles with matching fan art categories]]</includeonly>
<noinclude>{{clear}}{{Usage|1=This is a message box template used to note the presence of fan art related to the subject of an article. The format for using this template is as follows:<br />


<nowiki>{{Fan art|chris=Sonichu|linkname=Sonichu}}</nowiki>


'''Template structure'''
-Displays: {{Fan art|chris=Sonichu|linkname=Sonichu}}
{{clear}}
If the parameters for "chris=" and "linkname=" are not entered, the template will default to the current PAGENAME. This means that if you use the template in the [[BlueSpike]] article, you won't have to enter any parameters in, and it will automatically direct the link to the BlueSpike fan art.


<nowiki>{{Fan art|chris={{NAMESPACE}}|linkname={{NAMESPACE}}}}</nowiki>
Otherwise, the value you enter for "chris=" will be the name of the fan art category you want to link to, and "linkname=" will be where you enter what the link will actually say. For example, if you wanted to pipe the link to the Sonichu fan art, you could do it like this:


<nowiki>{{Fan art|chris=Sonichu|linkname=Crappy Sonic Recolor}}</nowiki>


'''Template usage'''
-Displays: {{Fan art|chris=Sonichu|linkname=Crappy Sonic Recolor}}


<nowiki>{{Fan art|Category name={{NAMESPACE}}|To be displayed as link={{NAMESPACE}}}}</nowiki>
{{clear}}
 
}}
'''Notes'''
[[Category:Article message boxes|{{PAGENAME}}]]</noinclude>
#Specify the category to link to with chris= otherwise defaults to current PAGENAME
#Specify what to display as a link in the box with linkname= otherwise defaults to current PAGENAME
 
[[Category:Templates]]
</noinclude>

Latest revision as of 16:32, 23 December 2010

Pickles.jpg
Tired of "Good Fan Art"? Visit our constantly expanding Gallery of Evil Fan Art! There's even a whole section dedicated to Yawning Squirtle!


Usage

These usage notes will not be included in articles bearing this template.

This is a message box template used to note the presence of fan art related to the subject of an article. The format for using this template is as follows:

{{Fan art|chris=Sonichu|linkname=Sonichu}}

-Displays:

Pickles.jpg
Tired of "Good Fan Art"? Visit our constantly expanding Gallery of Evil Fan Art! There's even a whole section dedicated to Sonichu!

If the parameters for "chris=" and "linkname=" are not entered, the template will default to the current PAGENAME. This means that if you use the template in the BlueSpike article, you won't have to enter any parameters in, and it will automatically direct the link to the BlueSpike fan art.

Otherwise, the value you enter for "chris=" will be the name of the fan art category you want to link to, and "linkname=" will be where you enter what the link will actually say. For example, if you wanted to pipe the link to the Sonichu fan art, you could do it like this:

{{Fan art|chris=Sonichu|linkname=Crappy Sonic Recolor}}

-Displays:

Pickles.jpg
Tired of "Good Fan Art"? Visit our constantly expanding Gallery of Evil Fan Art! There's even a whole section dedicated to Crappy Sonic Recolor!