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

Difference between revisions of "User:Wrh2/Sandbox"

From Wikitravel
Jump to: navigation, search
(copy the italians)
(map out templates)
Line 1: Line 1:
Hacked by [[User:Wrh2]].
 
 
i 4m 31i73
 
 
 
<div style="right:23px; position:absolute;z-index:100;top:30px;display: block !important;" id="featured-star">
 
<div style="right:23px; 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;">
 
<div style="position: relative; width:20px; height:20px; overflow: hidden;text-decoration:none;">
Line 16: Line 12:
 
</div>
 
</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 06:53, 19 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