Jump to content

Template:Tag1: Difference between revisions

From Marspedia
Generic tag template,. text only
 
examples; changing textsize to match Template:Tag2
Line 1: Line 1:
<DIV style="{{DRBX}}; margin:0.5em; padding:1em; line-height:1.25em; font-size:{{{size|80%}}}; width:50em; width:25rem;">{{{text|text}}}</DIV><BR/>
<includeonly>
<DIV style="{{DRBX}}; margin:0.5em; padding:1em; line-height:1.25em; font-size:{{{textsize|80%}}}; width:50em; width:25rem;">{{{text|text}}}</DIV><BR/>
<includeonly>
<includeonly>
[[Category:{{{destination|ERROR!  SET DESTINATION!}}}]]
[[Category:{{{destination|ERROR!  SET DESTINATION!}}}]]
</includeonly>
</includeonly><noinclude>
<noinclude>
 
Generic tag template.  Use to build standardized tag templates with images.
 
Built on top of [[:Template:DRBX]]
 
__NOTOC__
==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%.
 
==Examples==
===Mostly Defaults===
{{Tag1 |
| text = '''L5 in '95!'''
| destination = Tag Templates
}}
 
<TT><PRE>
{{Tag1 |
| text = '''L5 in '95!'''
| destination = Tag Templates
}}
</PRE></TT>
 
===Customized===
{{Tag1 |
| text = <SPAN style = "font-family:fantasy,cursive,serif; color:#FF0000">'''L5 in '95!'''</SPAN>
| destination = Tag Templates
| textsize = 200%
}}
 
<TT><PRE>
{{Tag1 |
| text = <SPAN style = "font-family:fantasy,cursive,serif; color:#FF0000">'''L5 in '95!'''</SPAN>
| destination = Tag Templates
| textsize = 200%
}}
</PRE></TT>
 
[[Category:Tag Templates]]
[[Category:Tag Templates]]
</noinclude>
</noinclude>

Revision as of 03:50, 13 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%.

Examples

Mostly Defaults

L5 in '95!



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

Customized

L5 in '95!



{{Tag1 |
| text = <SPAN style = "font-family:fantasy,cursive,serif; color:#FF0000">'''L5 in '95!'''</SPAN>
| destination = Tag Templates
| textsize = 200%
}}