Template:WikiTourBus: Difference between revisions

Font size tweak, improve grammar
(|alt=)
(Font size tweak, improve grammar)
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%">'''[[WikiTourBus]]'''<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 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}}}]]|}}{{#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]] [[Special:Templates|template]]''' as shown below:
{{Clear}}
{{Clear}}
  <nowiki>{{WikiTourBus</nowiki>|''route number''|''next 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 grey box, copy (<tt>Ctrl-c</tt> on your keyboard), and then paste it (<tt>Ctrl-v</tt>) into the relevant [[wiki]] (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.  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.
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 {{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, and the second (where applicable and available) will provide an English translation of the said 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.
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; 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 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>
**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 site (if it has one).
**eg: <code><nowiki>|url en=https://Es.Wikipedia.org/wiki/Wikipedia:TourBusStop</nowiki></code>
**eg: <code><nowiki>|url en=https://Es.Wikipedia.org/wiki/Wikipedia:TourBusStop</nowiki></code>