Template:WikiTourBus: Difference between revisions
MarkDilley (talk | contribs) (revert back to last good edit, would still like to see the template this way, but don't have bandwidth to figure it out at the moment) |
Hoof Hearted (talk | contribs) (fix typo, add examples) |
||
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><span class=plainlinks>{{#if: {{{url|}}}|[{{{url}}} | <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><span class=plainlinks>{{#if: {{{url|}}}|[{{{url}}} visit stop]|}} {{#if: {{{url en|}}}|[{{{url en}}} (en)]|}}</span><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}}}]]|}}{{#if: {{{6|}}}|, [[:Category:Wikis reachable by WikiTourBus {{{6}}}|{{{6}}}]]|}}{{#if: {{{7|}}}|, [[:Category:Wikis reachable by WikiTourBus {{{7}}}|{{{7}}}]]|}} | ||
</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}}}]]|}}{{#if: {{{6|}}}|[[Category:Wikis reachable by WikiTourBus {{{6}}}]]|}}{{#if: {{{7|}}}|[[Category:Wikis reachable by WikiTourBus {{{7}}}]]|}}</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}}}]]|}}{{#if: {{{6|}}}|[[Category:Wikis reachable by WikiTourBus {{{6}}}]]|}}{{#if: {{{7|}}}|[[Category:Wikis reachable by WikiTourBus {{{7}}}]]|}}</includeonly><noinclude> | ||
Use this '''[[WikiTourBus]] [[:Category:Templates|template]]''' as shown below: | Use this '''[[WikiTourBus]] [[:Category:Templates|template]]''' as shown below: | ||
Line 5: | Line 5: | ||
<nowiki>{{WikiTourBus</nowiki>|''route number''|''further route numbers''|url=''YourTourBusURL''|url en=''YourTourBusEnglishURL''<nowiki>}}</nowiki> | <nowiki>{{WikiTourBus</nowiki>|''route number''|''further route numbers''|url=''YourTourBusURL''|url en=''YourTourBusEnglishURL''<nowiki>}}</nowiki> | ||
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 seven (7) tour bus route numbers (omit any leading zeros), and two URLs – separating each by an additional pipe <code>|</code> in the above template. | 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 seven (7) tour bus route numbers (omit any leading zeros), and two URLs (full URLs, including the <tt>http://</tt>) – separating each by an additional pipe <code>|</code> in the above template. | ||
; Verification URLs | ; 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. | 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. For a couple of examples with both URLs, please see the rendered WikiTourBus on the [[DseWiki]] and/or [[Español Wikipedia]] articles. | ||
* <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. | * <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> | ** eg: <tt><nowiki>url=http://es.wikipedia.org/wiki/Wikipedia:ParadaDeBusesDeTurismo</nowiki></tt> | ||
* <code>'''url en='''</code> — this optional parameter can also be used to link the english language TourBusStop page on the said wiki. | * <code>'''url en='''</code> — this optional parameter can also be used to link the english language TourBusStop page on the said wiki (if it has one). | ||
** eg: <tt><nowiki>url en=http://es.wikipedia.org/wiki/Wikipedia:TourBusStop</nowiki></tt> | ** eg: <tt><nowiki>url en=http://es.wikipedia.org/wiki/Wikipedia:TourBusStop</nowiki></tt> | ||
Revision as of 03:29, 2 May 2013
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 seven (7) tour bus route numbers (omit any leading zeros), and two URLs (full URLs, including the http://) – 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. For a couple of examples with both URLs, please see the rendered WikiTourBus on the DseWiki and/or Español Wikipedia articles.
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 (if it has one).- 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.