Want to help improve the guide? Create an account now to get started!

Difference between revisions of "User:Wrh2/Sandbox"

From Wikitravel
Jump to: navigation, search
m (Template:Title icons:: way too much coding today... not sure if this actually would work.)
(try w/ different & larger icons)
Line 1: Line 1:
<div style="right:23px; position:absolute;z-index:100;top:30px;display: block !important;" id="featured-star">
+
<div style="right:28px; position:absolute;z-index:100;top:28px;display: block !important;" id="featured-star">
<div style="position: relative; width:20px; height:20px; overflow: hidden;text-decoration:none;">
+
<div style="position: relative; width:25px; height:25px; overflow: hidden;text-decoration:none;">
<div style="position:absolute;top:0px;left:0px;z-index:2;">[[Image:Barnstar.png|20px|Star Article]]</div>
+
<div style="position:absolute;top:0px;left:0px;z-index:2;">[[Image:Compass-icon.png|25px|Previously Off the beaten path]]</div>
<div style="position:absolute;top:0px;left:0px;z-index:3;font-size:20pt;">[[Wikitravel:Star articles|<span title="Star Articles">&nbsp;&nbsp;&nbsp;</span>]]</div>
+
<div style="position:absolute;top:0px;left:0px;z-index:3;font-size:20pt;">[[Previously Off the beaten path|<span title="Previously Off the beaten path">&nbsp;&nbsp;&nbsp;</span>]]</div>
 
</div>
 
</div>
 
</div>
 
</div>
  
<div style="right:46px; position:absolute;z-index:100;top:30px;display: block !important;" id="featured-star">
+
<div style="right:56px; position:absolute;z-index:100;top:28px;display: block !important;" id="featured-star">
<div style="position: relative; width:20px; height:20px; overflow: hidden;text-decoration:none;">
+
<div style="position: relative; width:25px; height:25px; overflow: hidden;text-decoration:none;">
<div style="position:absolute;top:0px;left:0px;z-index:2;">[[Image:Barnstar.png|20px|Previous Destinations of the Month]]</div>
+
<div style="position:absolute;top:0px;left:0px;z-index:2;">[[Image:Globe-icon.png|25px|Previous Destinations of the month]]</div>
<div style="position:absolute;top:0px;left:0px;z-index:3;font-size:20pt;">[[Previous Destinations of the month|<span title="Previous Destinations of the Month">&nbsp;&nbsp;&nbsp;</span>]]</div>
+
<div style="position:absolute;top:0px;left:0px;z-index:3;font-size:20pt;">[[Previous Destinations of the month|<span title="Previous Destinations of the month">&nbsp;&nbsp;&nbsp;</span>]]</div>
 +
</div>
 +
</div>
 +
 
 +
<div style="right:84px; position:absolute;z-index:100;top:28px;display: block !important;" id="featured-star">
 +
<div style="position: relative; width:25px; height:25px; overflow: hidden;text-decoration:none;">
 +
<div style="position:absolute;top:0px;left:0px;z-index:2;">[[Image:Barnstar.png|25px|Star Article]]</div>
 +
<div style="position:absolute;top:0px;left:0px;z-index:3;font-size:20pt;">[[Wikitravel:Star articles|<span title="Star Articles">&nbsp;&nbsp;&nbsp;</span>]]</div>
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 03:47, 20 June 2007

Contents

Template:Title icons:

<includeonly>
{{if|test={{{0|}}}|then={{title icon|position=23|content={{{{{0}}}}}}}}}
{{if|test={{{1|}}}|then={{title icon|position=46|content={{{{{1}}}}}}}}}
{{if|test={{{2|}}}|then={{title icon|position=69|content={{{{{2}}}}}}}}}
{{if|test={{{3|}}}|then={{title icon|position=92|content={{{{{3}}}}}}}}}
{{if|test={{{4|}}}|then={{title icon|position=115|content={{{{{4}}}}}}}}}
</includeonly>

This template is used to display icons in the title bar of an article for things like Wikitravel:Star articles and Previous Destinations of the month. To use the template:

{{title icons|star icon|dotm icon}}


Template:Title icon:

<includeonly>
<div style="right:{{{position}}}px; position:absolute;z-index:100;top:30px;display: block !important;" id="featured-star">
<div style="position: relative; width:20px; height:20px; overflow: hidden;text-decoration:none;">
{{{content}}}
</div>
</div>
</includeonly>

This template is used internally by Template:Status icons. It should not be called directly. An example usage of this template is:

{{title icon|position=23|content=star icon}}


Template:Title icon entry:

<includeonly>
<div style="position:absolute;top:0px;left:0px;z-index:2;">[[{{{image}}}|20px|{{{text}}}]]</div>
<div style="position:absolute;top:0px;left:0px;z-index:3;font-size:20pt;">[[{{{link}}}|<span title="{{{text}}}">   </span>]]</div>
</includeonly>

This template is used to generate a title icon entry. It should not be called directly. An example usage of this template is:

{{title icon entry|image=Barnstar.png|text=Star Article|link=Wikitravel:Star Articles}}


Template:Star icon:

<includeonly>
{{title icon entry|image=Barnstar.png|text=Star Article|link=Wikitravel:Star Articles}}
</includeonly>

This template is used to generate a star article status title icon entry. It should be used as an argument to Template:Title icons. An example usage of this template is:

{{title icons|star icon|dotm icon}}

Variants

Actions

Destination Docents

In other languages