Template:WikiTourBus: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(clarify category inclusion)
(do plainlinks work/look better? improve help text)
Line 1: Line 1:
<div style="margin-left:1em; margin-bottom:0.2em; float:right; border:1px solid gray; background-color:#dee; padding:2px; text-align:center; font-size:92%">[[:Category:Wikis reachable by WikiTourBus|WikiTourBus]]<br>http://www.wikiservice.at/image/wikibus.gif<br> {{#if: {{{url|}}}|[{{{url}}} URL]|}}{{#if: {{{url en|}}}|[{{{url en}}} (/en)]|}}<br> {{#if: {{{1|}}}|[[:Category:Wikis reachable by WikiTourBus {{{1}}}|{{{1}}}]]|}}{{#if: {{{2|}}}|, [[:Category:Wikis reachable by WikiTourBus {{{2}}}|{{{2}}}]]|}}{{#if: {{{3|}}}|, [[:Category:Wikis reachable by WikiTourBus {{{3}}}|{{{3}}}]]|}}{{#if: {{{4|}}}|, [[:Category:Wikis reachable by WikiTourBus {{{4}}}|{{{4}}}]]|}}{{#if: {{{5|}}}|, [[:Category:Wikis reachable by WikiTourBus {{{5}}}|{{{5}}}]]|}}
<div style="margin-left:1em; margin-bottom:0.2em; float:right; border:1px solid gray; background-color:#dee; padding:2px; text-align:center; font-size:92%; class=plainlinks">[[:Category:Wikis reachable by WikiTourBus|WikiTourBus]]<br>http://www.wikiservice.at/image/wikibus.gif<br>{{#if: {{{url|}}}|[{{{url}}} URL]|}}&nbsp;{{#if: {{{url en|}}}|[{{{url en}}} (/en)]|}}<br>{{#if: {{{1|}}}|[[:Category:Wikis reachable by WikiTourBus {{{1}}}|{{{1}}}]]|}}{{#if: {{{2|}}}|, [[:Category:Wikis reachable by WikiTourBus {{{2}}}|{{{2}}}]]|}}{{#if: {{{3|}}}|, [[:Category:Wikis reachable by WikiTourBus {{{3}}}|{{{3}}}]]|}}{{#if: {{{4|}}}|, [[:Category:Wikis reachable by WikiTourBus {{{4}}}|{{{4}}}]]|}}{{#if: {{{5|}}}|, [[:Category:Wikis reachable by WikiTourBus {{{5}}}|{{{5}}}]]|}}
</div><includeonly>{{#if: {{{1|}}}|[[Category:Wikis reachable by WikiTourBus {{{1}}}]]|[[Category:Wikis reachable by WikiTourBus]]}}{{#if: {{{2|}}}|[[Category:Wikis reachable by WikiTourBus {{{2}}}]]|}}{{#if: {{{3|}}}|[[Category:Wikis reachable by WikiTourBus {{{3}}}]]|}}{{#if: {{{4|}}}|[[Category:Wikis reachable by WikiTourBus {{{4}}}]]|}}{{#if: {{{5|}}}|[[Category:Wikis reachable by WikiTourBus {{{5}}}]]|}}</includeonly><noinclude>
</div><includeonly>{{#if: {{{1|}}}|[[Category:Wikis reachable by WikiTourBus {{{1}}}]]|[[Category:Wikis reachable by WikiTourBus]]}}{{#if: {{{2|}}}|[[Category:Wikis reachable by WikiTourBus {{{2}}}]]|}}{{#if: {{{3|}}}|[[Category:Wikis reachable by WikiTourBus {{{3}}}]]|}}{{#if: {{{4|}}}|[[Category:Wikis reachable by WikiTourBus {{{4}}}]]|}}{{#if: {{{5|}}}|[[Category:Wikis reachable by WikiTourBus {{{5}}}]]|}}</includeonly><noinclude>
Use this '''[[WikiTourBus]] [[:Category:Templates|template]]''' as shown below:
{{clear}}
<nowiki>{{WikiTourBus</nowiki>|''route number''|''further route numbers''|url=''YourTourBusURL''|url en=''YourTourBusEnglishURL''<nowiki>}}</nowiki>


Use this [[WikiTourBus]] [[:Category:Templates|template]] as shown below:
Copy the above text in the blue-grey box and paste it into the relevent [[wiki]] article (immediately after the {{tl|Wiki}} template) here on [[WikiIndex]], replacing the text shown in ''italics'' with the correct information.  You can currently add up to five tour bus route numbers (omit any leading zeros), and two URLs – separating each by an additional pipe <code>|</code> in the above template.
<nowiki>{{WikiTourBus</nowiki>|''route number''|''further route numbers''|url=''YourTourBusURL''<nowiki>}}</nowiki>


Copy and paste the above into the relevent article here on [[WikiIndex]], replacing the text shown in ''italics'' with the correct information. You can currently add up to five tour bus route numbers, separating each by an additional pipe <code>|</code> in the above template.
;Verification URLs
The template allows for inclusion of a verification by way of an external link to the relevant wiki [[:Category:TourBusStop|TourBusStop]] page.  One or both of the following options may be used; the first option will usually display the [[TourBusStop]] page in the native language of the individual wiki, and the second (where applicable and available) will provide an english translation of the said page.
*<code>'''url='''</code> — this preferred parameter is used to link the main TourBusStop page on the said wiki – for any non-english wikis, this will be in its native language.
**eg: <tt><nowiki>url=http://es.wikipedia.org/wiki/Wikipedia:ParadaDeBusesDeTurismo</nowiki></tt>


The optional parameter <code>url</code> can be used to link the [[TourBusStop]] page in this [[wiki]].
*<code>'''url en='''</code> — this optional parameter can also be used to link the english language TourBusStop page on the said wiki.
**eg: <tt><nowiki>url en=http://es.wikipedia.org/wiki/Wikipedia:TourBusStop</nowiki></tt>


The optional parameter <code>url en</code> can be used to link the TourBusStop page in this wiki.
Wiki article pages using this template <u>without</u> any bus route number will be automatically [[Special:Categories|categorised]] into [[:category:Wikis reachable by WikiTourBus]].  Wiki article pages using this template <u>with</u> one or more bus route numbers will be auto-categorised into one (or more) of the subcategories of category:Wikis reachable by WikiTourBus.
 
Article pages using this template <u>without</u> any bus route number will be automatically [[Special:Categories|categorised]] into [[:category:Wikis reachable by WikiTourBus]].  Article pages using this template <u>with</u> one or more bus route numbers will be auto-categorised into one (or more) of the subcategories of [[:category:Wikis reachable by WikiTourBus]].


[[Category:TourBusStop| ]]
[[Category:TourBusStop| ]]
[[Category:Wikis reachable by WikiTourBus| ]]
[[Category:Wikis reachable by WikiTourBus| ]]
[[Category:Category templates]]</noinclude>
[[Category:Category templates]]</noinclude>

Revision as of 14:28, 26 November 2012

WikiTourBus
http://www.wikiservice.at/image/wikibus.gif
 

Use this WikiTourBus template as shown below:

{{WikiTourBus|route number|further route numbers|url=YourTourBusURL|url en=YourTourBusEnglishURL}}

Copy the above text in the blue-grey box and paste it into the relevent wiki article (immediately after the Template:Tl template) here on WikiIndex, replacing the text shown in italics with the correct information. You can currently add up to five tour bus route numbers (omit any leading zeros), and two URLs – separating each by an additional pipe | in the above template.

Verification URLs

The template allows for inclusion of a verification by way of an external link to the relevant wiki TourBusStop page. One or both of the following options may be used; the first option will usually display the TourBusStop page in the native language of the individual wiki, and the second (where applicable and available) will provide an english translation of the said page.

  • url= — this preferred parameter is used to link the main TourBusStop page on the said wiki – for any non-english wikis, this will be in its native language.
    • eg: url=http://es.wikipedia.org/wiki/Wikipedia:ParadaDeBusesDeTurismo
  • url en= — this optional parameter can also be used to link the english language TourBusStop page on the said wiki.
    • eg: url en=http://es.wikipedia.org/wiki/Wikipedia:TourBusStop

Wiki article pages using this template without any bus route number will be automatically categorised into category:Wikis reachable by WikiTourBus. Wiki article pages using this template with one or more bus route numbers will be auto-categorised into one (or more) of the subcategories of category:Wikis reachable by WikiTourBus.