Help Wikitravel grow by contributing to an article! Learn how.

Difference between revisions of "User:Wrh2/Sandbox"

From Wikitravel
Jump to: navigation, search
(try w/ different & larger icons)
(preview)
Line 1: Line 1:
<div style="right:28px; position:absolute;z-index:100;top:28px;display: block !important;" id="featured-star">
+
{{title-icons|otbp-icon|dotm-icon}}
<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:Compass-icon.png|25px|Previously Off the beaten path]]</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 style="right:56px; 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: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>
+
</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>
+
 
+
====Template:Title icons:====
+
 
+
<pre><nowiki>
+
<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>
+
</nowiki></pre>
+
<noinclude>
+
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:
+
 
+
<nowiki>{{title icons|star icon|dotm icon}}</nowiki>
+
</noinclude>
+
 
+
====Template:Title icon:====
+
 
+
<pre><nowiki>
+
<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>
+
</nowiki></pre>
+
<noinclude>
+
This template is used internally by [[:Template:Status icons]].  It should not be called directly. An example usage of this template is:
+
 
+
<nowiki>{{title icon|position=23|content=star icon}}</nowiki>
+
</noinclude>
+
 
+
====Template:Title icon entry:====
+
 
+
<pre><nowiki>
+
<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}}}">&nbsp;&nbsp;&nbsp;</span>]]</div>
+
</includeonly>
+
</nowiki></pre>
+
<noinclude>
+
This template is used to generate a title icon entry.  It should not be called directly. An example usage of this template is:
+
 
+
<nowiki>{{title icon entry|image=Barnstar.png|text=Star Article|link=Wikitravel:Star Articles}}</nowiki>
+
</noinclude>
+
 
+
 
+
====Template:Star icon:====
+
 
+
<pre><nowiki>
+
<includeonly>
+
{{title icon entry|image=Barnstar.png|text=Star Article|link=Wikitravel:Star Articles}}
+
</includeonly>
+
</nowiki></pre>
+
<noinclude>
+
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:
+
 
+
<nowiki>{{title icons|star icon|dotm icon}}</nowiki>
+
</noinclude>
+

Revision as of 05:13, 20 June 2007



Variants

Actions

Destination Docents

In other languages