Template:WikiTourBus: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(improve clarity of rendered url, improve help text, added hidden text question)
m (Text replacement - "Wiki Engine" to "Wiki engine")
 
(25 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%">[[: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%"><big>'''[[WikiTourBus]]'''</big><br>[[File:WikiBus.gif|link=WikiTourBus|All aboard the WikiTourBus|alt=]]<br>{{#if:{{{url|}}}|[{{{url}}} visit stop]|}}&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}}}]]|}}{{#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]] [[Special:Templates|template]]''' as shown below:
{{Clear}}
<nowiki>{{WikiTourBus</nowiki>|''route number''|''next route number''|''further route numbers''|url=''YourTourBusURL''|url en=''YourTourBusEnglishURL''<nowiki>}}</nowiki>


Use this [[:Category:Templates|template]] as shown below:
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.
<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.<!--how are additional bus numbers separated?  With a comma, or an additional pipe?-->
;''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 site; for any non-English wikis, this will be in its native language.
**eg: <code><nowiki>|url=https://Es.Wikipedia.org/wiki/Wikipedia:ParadaDeBusesDeTurismo</nowiki></code>


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 site (if it has one).
**eg: <code><nowiki>|url en=https://Es.Wikipedia.org/wiki/Wikipedia:TourBusStop</nowiki></code>


The optional parameter <code>url en</code> can be used to link the TourBusStop page in this wiki.
;''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.


Article pages using this template will be auto-[[Special:Categories|categorised]] into [[:Category:Wikis reachable by WikiTourBus]], or one of its sub-categories.
[[Category:Category templates|TourBus]]
 
[[Category:Templates]]
[[Category:TourBusStop| ]]
[[Category:TourBusStop| ]]
[[Category:Wikis reachable by WikiTourBus| ]]</noinclude>
[[Category:Wikis reachable by WikiTourBus| ]]</noinclude>

Latest revision as of 19:25, 23 November 2022

WikiTourBus

 

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
  • 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
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.