Template:WikiTourBus: Difference between revisions
Hoof Hearted (talk | contribs) (do plainlinks work/look better? improve help text) |
Hoof Hearted (talk | contribs) m (Text replacement - "Wiki Engine" to "Wiki engine") |
||
(20 intermediate revisions by 3 users not shown) | |||
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% | <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%"><big>'''[[WikiTourBus]]'''</big><br>[[File:WikiBus.gif|link=WikiTourBus|All aboard the WikiTourBus|alt=]]<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}}}]]|}}</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]] [[ | Use this '''[[WikiTourBus]] [[Special:Templates|template]]''' as shown below: | ||
{{ | {{Clear}} | ||
<nowiki>{{WikiTourBus</nowiki>|''route number''|''further route numbers''|url=''YourTourBusURL''|url en=''YourTourBusEnglishURL''<nowiki>}}</nowiki> | <nowiki>{{WikiTourBus</nowiki>|''route number''|''next route number''|''further route numbers''|url=''YourTourBusURL''|url en=''YourTourBusEnglishURL''<nowiki>}}</nowiki> | ||
Select and highlight the above text in the blue-grey box, copy (<kbd>Ctrl-c</kbd> on your keyboard), and then paste it (<kbd>Ctrl-v</kbd>) into the relevant [[wiki]] site (or [[:Category:Wiki engine|wiki engine]]) article (immediately after the {{Template|Wiki}} infobox template) here on WikiIndex, replacing the text shown in ''italics'' with the correct information. This WikiTourBus template currently supports up to seven (7) different 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 | ||
This {{tag|Category templates|template}} allows for inclusion of verification by way of an external link to the relevant wiki site {{tag|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 site, and the second (where applicable and available) will provide an on-wiki English-language translation of the said TourBusStop page. For a couple of working examples with both URLs, please see the rendered WikiTourBus on the [[DseWiki]] and / or [[Español Wikipedia]] articles; and see below for the Español Wikipedia actual example. | |||
*<code>'''url='''</code> — this preferred parameter is used to link the main TourBusStop page on the said wiki | *<code>'''url='''</code> — this preferred parameter is used to link the main TourBusStop page on the said wiki site; 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 | *<code>'''url en='''</code> — this optional parameter can also be used to link the English-language TourBusStop page on the said wiki site (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 | ;''Categorisation | ||
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:Category templates|TourBus]] | |||
[[Category:TourBusStop| ]] | [[Category:TourBusStop| ]] | ||
[[Category:Wikis reachable by WikiTourBus| | [[Category:Wikis reachable by WikiTourBus| ]]</noinclude> | ||
Latest revision as of 19:25, 23 November 2022
Use this WikiTourBus template as shown below:
{{WikiTourBus|route number|next route number|further route numbers|url=YourTourBusURL|url en=YourTourBusEnglishURL}}
Select and highlight the above text in the blue-grey box, copy (Ctrl-c on your keyboard), and then paste it (Ctrl-v) into the relevant wiki site (or wiki engine) article (immediately after the {{Wiki}} infobox template) here on WikiIndex, replacing the text shown in italics with the correct information. This WikiTourBus template currently supports up to seven (7) different 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
This template allows for inclusion of verification by way of an external link to the relevant wiki site 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 site, and the second (where applicable and available) will provide an on-wiki English-language translation of the said TourBusStop page. For a couple of working examples with both URLs, please see the rendered WikiTourBus on the DseWiki and / or Español Wikipedia articles; and see below for the Español Wikipedia actual example.
url=
— this preferred parameter is used to link the main TourBusStop page on the said wiki site; 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 site (if it has one).- eg:
|url en=https://Es.Wikipedia.org/wiki/Wikipedia:TourBusStop
- eg:
- Categorisation
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.