Beautiful banners are coming to every article and you can help!
Check out our guidelines and learn how to create your own!

Difference between revisions of "Template:Title-icons"

From Wikitravel
Jump to: navigation, search
m
(reduce big gap between title finish and display of first line of lead in articles using this template)
Line 1: Line 1:
<includeonly>
+
<!-- 25 is icon width, 3 is icon padding --><includeonly>
<!-- 25 is icon width, 3 is icon padding -->
+
 
{{ #if: {{{1|}}} | {{title-icon | size=25 | position={{ #expr: (25+3)*1 }} | content={{{{{1}}}}}}} }}
 
{{ #if: {{{1|}}} | {{title-icon | size=25 | position={{ #expr: (25+3)*1 }} | content={{{{{1}}}}}}} }}
 
{{ #if: {{{2|}}} | {{title-icon | size=25 | position={{ #expr: (25+3)*2 }} | content={{{{{2}}}}}}} }}
 
{{ #if: {{{2|}}} | {{title-icon | size=25 | position={{ #expr: (25+3)*2 }} | content={{{{{2}}}}}}} }}
 
{{ #if: {{{3|}}} | {{title-icon | size=25 | position={{ #expr: (25+3)*3 }} | content={{{{{3}}}}}}} }}
 
{{ #if: {{{3|}}} | {{title-icon | size=25 | position={{ #expr: (25+3)*3 }} | content={{{{{3}}}}}}} }}
 
{{ #if: {{{4|}}} | {{title-icon | size=25 | position={{ #expr: (25+3)*4 }} | content={{{{{4}}}}}}} }}
 
{{ #if: {{{4|}}} | {{title-icon | size=25 | position={{ #expr: (25+3)*4 }} | content={{{{{4}}}}}}} }}
{{ #if: {{{5|}}} | {{title-icon | size=25 | position={{ #expr: (25+3)*5 }} | content={{{{{5}}}}}}} }}
+
{{ #if: {{{5|}}} | {{title-icon | size=25 | position={{ #expr: (25+3)*5 }} | content={{{{{5}}}}}}} }}</includeonly>
</includeonly>
+
 
 
<noinclude>
 
<noinclude>
 
This template is used to display icons at the far right of the title bar of an article, such as for [[Wikitravel:Star articles|Star articles]], [[previous Destinations of the month]], and [[previously Off the beaten path]] articles.  To use the template, include whichever icon is appropriate, as a parameter.  Multiple icons can be specified as multiple parameters.  For example:
 
This template is used to display icons at the far right of the title bar of an article, such as for [[Wikitravel:Star articles|Star articles]], [[previous Destinations of the month]], and [[previously Off the beaten path]] articles.  To use the template, include whichever icon is appropriate, as a parameter.  Multiple icons can be specified as multiple parameters.  For example:

Revision as of 18:29, 15 April 2013


This template is used to display icons at the far right of the title bar of an article, such as for Star articles, previous Destinations of the month, and previously Off the beaten path articles. To use the template, include whichever icon is appropriate, as a parameter. Multiple icons can be specified as multiple parameters. For example:

  • {{title-icons|star-icon}} Star-icon.png
  • {{title-icons|dotm-icon}} Dotm-icon.png
  • {{title-icons|star-icon|otbp-icon}} Star-icon.pngOtbp-icon.png

Variants

Actions

Destination Docents

In other languages