Difference between revisions of "Template:Tag2-2"
(Fixing imagesize) |
(Tinkering; links to similar templates;) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | <DIV style="{{DRBX}}; margin:0.5em; padding:1em; | + | <DIV style="{{DRBX}}; margin:0.5em; padding:1em; font-size:{{{textsize|80%}}}; width:50em; width:25rem;"> |
{| | {| | ||
|[[{{{image1|File:Sitelogo}}}|{{{imagesize|80px}}}]] | |[[{{{image1|File:Sitelogo}}}|{{{imagesize|80px}}}]] | ||
Line 7: | Line 7: | ||
|{{{text|text}}} | |{{{text|text}}} | ||
|} | |} | ||
− | </DIV | + | </DIV> |
[[Category:{{{destination|ERROR! SET DESTINATION!}}}]] | [[Category:{{{destination|ERROR! SET DESTINATION!}}}]] | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 30: | Line 30: | ||
| destination = Tag Templates | | destination = Tag Templates | ||
}} | }} | ||
− | |||
<TT><PRE>{{Tag2-2 | | <TT><PRE>{{Tag2-2 | | ||
| 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, | | 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 = | + | | destination = Articles Tagged with Carl Sagan |
}} | }} | ||
</PRE></TT> | </PRE></TT> | ||
Line 46: | Line 45: | ||
| imagesize = 120px | | imagesize = 120px | ||
}} | }} | ||
− | |||
<TT><PRE> | <TT><PRE> | ||
{{Tag2-2 | | {{Tag2-2 | | ||
− | | 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 | + | | 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 = | + | | destination = Articles Tagged with Carl Sagan |
| textsize = 125% | | textsize = 125% | ||
| image1 = File:Earth with Moon.jpg | | image1 = File:Earth with Moon.jpg | ||
Line 57: | Line 55: | ||
}} | }} | ||
</PRE></TT> | </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 two 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%.
- image1: the image to use on the left. Default is File:Sitelogo.
- image2: the image to use on the right. Default is File:Sitelogo.
- Imagesize: the image size. Include units. Default is 80px.
Examples
Mostly Defaults
{{Tag2-2 | | 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
{{Tag2-2 | | 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 = 125% | image1 = File:Earth with Moon.jpg | image2 = File:Delta_Liftoff.jpg | imagesize = 120px }}
For Similar Use Cases
- For no images use Template:Tag1
- For one image use Template:Tag2
- For three images use Template:Tag2-3