Difference between revisions of "Imagetag"

From Sega Retro

Line 3: Line 3:
 
| width="{{{textwidth|}}}" style="background-color: #D0D0D0; text-align: left;"| {{ #if: {{{text|}}} | {{{text}}} | This is an image. }}
 
| width="{{{textwidth|}}}" style="background-color: #D0D0D0; text-align: left;"| {{ #if: {{{text|}}} | {{{text}}} | This is an image. }}
 
|}</includeonly><noinclude>{{Imagetag|image=SmokingPipe.png|imagewidth=128|text=Ceci n'est pas un modèle.}}
 
|}</includeonly><noinclude>{{Imagetag|image=SmokingPipe.png|imagewidth=128|text=Ceci n'est pas un modèle.}}
This template is for anything that needs to be in a box styled as Sega Retro itself is styled; it should be used instead of [[:Template:Box|Box]] or a <tt><nowiki><div></nowiki></tt> tag unless necessary. It was originally created (and thus was named) for transclusion in [[:Category:Image Templates|image templates]].
+
This template is for anything that needs to be in a box styled as Sega Retro itself is styled; it should be used instead of [[:Template:Box|Box]] or a <tt><nowiki><div></nowiki></tt> tag unless necessary. It was originally created (and thus was named) for transclusion in [[:Category:Image templates|image templates]].
  
 
==Usage==
 
==Usage==
Line 15: Line 15:
 
</pre>
 
</pre>
  
[[Category:Image Templates|{{PAGENAME}}]]</noinclude>
+
[[Category:Image templates|{{PAGENAME}}]]</noinclude>

Revision as of 12:05, 12 January 2013

128
Ceci n'est pas un modèle.

This template is for anything that needs to be in a box styled as Sega Retro itself is styled; it should be used instead of Box or a <div> tag unless necessary. It was originally created (and thus was named) for transclusion in image templates.

Usage

{{Imagetag
| image=
| text=
| imagewidth=
| imagelink=
}}