Difference between revisions of "Template:Tag1"

From Marspedia
Jump to: navigation, search
(Generic tag template,. text only)
 
(Tinkering; links to similar templates; longer example text)
 
(One intermediate revision by the same user not shown)
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><onlyinclude>
<includeonly>
+
<DIV style="{{DRBX}}; margin:0.5em; padding:1em; font-size:{{{textsize|80%}}}; width:50em; width:25rem;">{{{text|text}}}</DIV>
 
[[Category:{{{destination|ERROR!  SET DESTINATION!}}}]]
 
[[Category:{{{destination|ERROR!  SET DESTINATION!}}}]]
</includeonly>
+
</onlyinclude></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 = ''"The vast distances that separate the stars are providential. Beings and worlds are quarantined from one another. The quarantine is lifted only for those with sufficient self-knowledge and judgment to have safely traveled from star to star."''<BR/ >― Carl Sagan
 +
| destination = Tag Templates
 +
}}
 +
<TT><PRE>
 +
{{Tag1 |
 +
| text = "The vast distances that separate the stars are providential. Beings and worlds are quarantined from one another. The quarantine is lifted only for those with sufficient self-knowledge and judgment to have safely traveled from star to star."<BR/ >― Carl Sagan
 +
| destination = Articles Tagged with Carl Sagan
 +
}}
 +
</PRE></TT>
 +
 
 +
===Customized===
 +
{{Tag1 |
 +
| text = <SPAN style = "font-family:fantasy,cursive,serif; color:#FF0000">''"The vast distances that separate the stars are providential. Beings and worlds are quarantined from one another. The quarantine is lifted only for those with sufficient self-knowledge and judgment to have safely traveled from star to star."''<BR/ >― Carl Sagan</SPAN>
 +
| destination = Tag Templates
 +
| textsize = 200%
 +
}}
 +
 
 +
<TT><PRE>
 +
{{Tag1 |
 +
| text = <SPAN style = "font-family:fantasy,cursive,serif; color:#FF0000">"The vast distances that separate the stars are providential. Beings and worlds are quarantined from one another. The quarantine is lifted only for those with sufficient self-knowledge and judgment to have safely traveled from star to star."<BR/ >― Carl Sagan</SPAN>
 +
| destination = Articles Tagged with Carl Sagan
 +
| textsize = 200%
 +
}}
 +
</PRE></TT>
 +
 
 +
==For Similar Use Cases==
 +
<!--*For no images use [[:Template:Tag1]]-->
 +
*For one image use [[:Template:Tag2]]
 +
*For two images use [[:Template:Tag2-2]]
 +
*For three images use [[:Template:Tag2-3]]
 +
 
 
[[Category:Tag Templates]]
 
[[Category:Tag Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:27, 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

"The vast distances that separate the stars are providential. Beings and worlds are quarantined from one another. The quarantine is lifted only for those with sufficient self-knowledge and judgment to have safely traveled from star to star."
― Carl Sagan
{{Tag1 |
| text = "The vast distances that separate the stars are providential. Beings and worlds are quarantined from one another. The quarantine is lifted only for those with sufficient self-knowledge and judgment to have safely traveled from star to star."<BR/ >― Carl Sagan
| destination = Articles Tagged with Carl Sagan
}}

Customized

"The vast distances that separate the stars are providential. Beings and worlds are quarantined from one another. The quarantine is lifted only for those with sufficient self-knowledge and judgment to have safely traveled from star to star."
― Carl Sagan


{{Tag1 |
| text = <SPAN style = "font-family:fantasy,cursive,serif; color:#FF0000">"The vast distances that separate the stars are providential. Beings and worlds are quarantined from one another. The quarantine is lifted only for those with sufficient self-knowledge and judgment to have safely traveled from star to star."<BR/ >― Carl Sagan</SPAN>
| destination = Articles Tagged with Carl Sagan
| textsize = 200%
}}

For Similar Use Cases