Difference between revisions of "Template:Tag2-2"

From Marspedia
Jump to: navigation, search
(Template for tag templates with two images on the left)
 
(Fixing imagesize)
Line 2: Line 2:
 
<DIV style="{{DRBX}}; margin:0.5em; padding:1em; line-height:1.25em; font-size:{{{textsize|80%}}}; width:50em; width:25rem;">
 
<DIV style="{{DRBX}}; margin:0.5em; padding:1em; line-height:1.25em; font-size:{{{textsize|80%}}}; width:50em; width:25rem;">
 
{|
 
{|
|[[{{{image1|File:Sitelogo}}}|{{{imgsize|80px}}}]]
+
|[[{{{image1|File:Sitelogo}}}|{{{imagesize|80px}}}]]
|[[{{{image2|File:Sitelogo}}}|{{{imgsize|80px}}}]]
+
|[[{{{image2|File:Sitelogo}}}|{{{imagesize|80px}}}]]
 
|
 
|
 
|{{{text|text}}}
 
|{{{text|text}}}
Line 41: Line 41:
 
| 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>
 
| 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
 
| destination = Tag Templates
| textsize = 133%
+
| textsize = 125%
 
| image1 = File:Earth with Moon.jpg
 
| image1 = File:Earth with Moon.jpg
 
| image2 = File:Delta_Liftoff.jpg
 
| image2 = File:Delta_Liftoff.jpg
| imagesize = 150px
+
| imagesize = 120px
 
}}
 
}}
  
Line 51: Line 51:
 
| 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>
 
| 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
 
| destination = Tag Templates
| textsize = 133%
+
| textsize = 125%
 
| image1 = File:Earth with Moon.jpg
 
| image1 = File:Earth with Moon.jpg
 
| image2 = File:Delta_Liftoff.jpg
 
| image2 = File:Delta_Liftoff.jpg
| imagesize = 150px
+
| imagesize = 120px
 
}}
 
}}
 
</PRE></TT>
 
</PRE></TT>

Revision as of 13:17, 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

Marspedia.png Marspedia.png "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,



{{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 = Tag Templates
}}

Customized

Earth with Moon.jpg Delta Liftoff.jpg "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,



{{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 = Tag Templates
| textsize = 125%
| image1 = File:Earth with Moon.jpg
| image2 = File:Delta_Liftoff.jpg
| imagesize = 120px
}}