Difference between revisions of "Template:Tag2"

From Marspedia
Jump to: navigation, search
(Generic Tag template with image. Left-justified. Needs longer example text.)
 
(fixing destination in examples)
Line 16: Line 16:
 
__NOTOC__
 
__NOTOC__
 
==Settings==
 
==Settings==
 +
*destination: The category to put articles tagged with this into
 
*text: the text of the notice.  Include any formatting and line breaks.
 
*text: the text of the notice.  Include any formatting and line breaks.
 
*textsize: the size of the text.  Include units.  Default is 80%.
 
*textsize: the size of the text.  Include units.  Default is 80%.
Line 25: Line 26:
 
{{Tag2 |
 
{{Tag2 |
 
| text = '''L5 in '95!'''
 
| text = '''L5 in '95!'''
 +
| destination = Tag Templates
 
}}
 
}}
  
 
<TT><PRE>{{Tag2 |
 
<TT><PRE>{{Tag2 |
 
| text = '''L5 in '95!'''
 
| text = '''L5 in '95!'''
 +
| destination = Tag Templates
 
}}
 
}}
 
</PRE></TT>
 
</PRE></TT>
Line 35: Line 38:
 
{{Tag2 |
 
{{Tag2 |
 
| text = <SPAN style = "font-family:fantasy,cursive,serif; color:#FF0000">'''L5 in '95!'''</SPAN>
 
| text = <SPAN style = "font-family:fantasy,cursive,serif; color:#FF0000">'''L5 in '95!'''</SPAN>
 +
| destination = Tag Templates
 
| textsize = 200%
 
| textsize = 200%
 
| image = File:Earth with Moon.jpg
 
| image = File:Earth with Moon.jpg
Line 43: Line 47:
 
{{Tag2 |
 
{{Tag2 |
 
| text = <SPAN style = "font-family:fantasy,cursive,serif; color:#FF0000">'''L5 in '95!'''</SPAN>
 
| text = <SPAN style = "font-family:fantasy,cursive,serif; color:#FF0000">'''L5 in '95!'''</SPAN>
 +
| destination = Tag Templates
 
| textsize = 200%
 
| textsize = 200%
 
| image = File:Earth with Moon.jpg
 
| image = File:Earth with Moon.jpg

Revision as of 18:45, 12 November 2017


Generic tag template. Use to build standardized tag templates with images.

Built on top of Template:DRBX


Settings

  • destination: The category to put articles tagged with this into
  • text: the text of the notice. Include any formatting and line breaks.
  • textsize: the size of the text. Include units. Default is 80%.
  • image: the image to use. Default is File:Sitelogo.
  • Imagesize: the image size. Include units. Default is 80px.

Examples

Mostly Defaults

Marspedia.png L5 in '95!



{{Tag2 |
| text = '''L5 in '95!'''
| destination = Tag Templates
}}

Customized

Earth with Moon.jpg L5 in '95!



{{Tag2 |
| text = <SPAN style = "font-family:fantasy,cursive,serif; color:#FF0000">'''L5 in '95!'''</SPAN>
| destination = Tag Templates
| textsize = 200%
| image = File:Earth with Moon.jpg
| imagesize = 150px
}}