Template:WikiTourBus: Difference between revisions
Hoof Hearted (talk | contribs) (tweaks) |
Hoof Hearted (talk | contribs) (tweak to cat display order, other minor tweaks) |
||
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:// | <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://wikiservice.at/image/wikibus.gif<br>{{#if: {{{url|}}}|[{{{url}}} visit stop]|}} {{#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}}}]]|}}{{#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 relevant [[wiki]] (or [[:Category:Wiki Engine|wiki engine]]) article (immediately after the {{template|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. | Copy the above text in the blue-grey box and paste it (<tt>Ctrl-V</tt>) into the relevant [[wiki]] (or [[:Category:Wiki Engine|wiki engine]]) article (immediately after the {{template|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> or <tt>https://</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. For a couple of examples with both URLs, please see the rendered WikiTourBus on the [[DseWiki]] and/or [[Español Wikipedia]] articles. | 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: < | ** eg: <code><nowiki>url=https://es.Wikipedia.org/wiki/Wikipedia:ParadaDeBusesDeTurismo</nowiki></code> | ||
* <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). | * <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: < | ** eg: <code><nowiki>url en=https://es.Wikipedia.org/wiki/Wikipedia:TourBusStop</nowiki></code> | ||
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 | 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 specific sub-categories 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|TourBus]]</noinclude> |
Revision as of 11:54, 21 February 2018
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 (Ctrl-V) into the relevant wiki (or wiki engine) article (immediately after the {{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 http:// or https://) – 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=https://es.Wikipedia.org/wiki/Wikipedia:ParadaDeBusesDeTurismo
- eg:
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=https://es.Wikipedia.org/wiki/Wikipedia:TourBusStop
- eg:
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 specific sub-categories of category:Wikis reachable by WikiTourBus.