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)
(additional pipe for additional tour bus route numbers)
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%">[[: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><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}}}]]|}}</includeonly><noinclude>


Line 5: Line 5:
  <nowiki>{{WikiTourBus</nowiki>|''route number''|''further route numbers''|url=''YourTourBusURL'']<nowiki>}}</nowiki>
  <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?-->
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, separating each by an additional pipe <code>|</code> in the above template.


The optional parameter <code>url</code> can be used to link the [[TourBusStop]] page in this [[wiki]].
The optional parameter <code>url</code> can be used to link the [[TourBusStop]] page in this [[wiki]].

Revision as of 09:26, 19 September 2012

WikiTourBus
http://www.wikiservice.at/image/wikibus.gif

Use this template as shown below:

{{WikiTourBus|route number|further route numbers|url=YourTourBusURL]}}

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, separating each by an additional pipe | in the above template.

The optional parameter url can be used to link the TourBusStop page in this wiki.

The optional parameter url en can be used to link the TourBusStop page in this wiki.

Article pages using this template will be auto-categorised into Category:Wikis reachable by WikiTourBus, or one of its sub-categories.