Difference between revisions of "Template:Traininglocation"

From BITPlan Wiki
Jump to navigation Jump to search
m (created by WikiTask 2017-11-08T17:03:19Z)
m (created by WikiTask 2017-11-08T17:09:18Z)
Line 17: Line 17:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
 +
|url=
 
|coordinate=
 
|coordinate=
|url=
+
|address=
 +
|city=
 +
|country=
 
|storemode=subobject
 
|storemode=subobject
 
}}
 
}}
Line 26: Line 29:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
 +
|url=
 
|coordinate=
 
|coordinate=
|url=
+
|address=
 +
|city=
 +
|country=
 
|storemode=property
 
|storemode=property
 
}}
 
}}
Line 35: Line 41:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
 +
|url=
 
|coordinate=
 
|coordinate=
|url=
+
|address=
 +
|city=
 +
|country=
 
|storemode=none
 
|storemode=none
 
}}
 
}}
Line 45: Line 54:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
 +
|url=
 
|coordinate=
 
|coordinate=
|url=
+
|address=
 +
|city=
 +
|country=
 
|viewmode=tableheader
 
|viewmode=tableheader
 
}}
 
}}
Line 54: Line 66:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
 +
|url=
 
|coordinate=
 
|coordinate=
|url=
+
|address=
 +
|city=
 +
|country=
 
|viewmode=tablerow
 
|viewmode=tablerow
 
}}
 
}}
Line 63: Line 78:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
 +
|url=
 
|coordinate=
 
|coordinate=
|url=
+
|address=
 +
|city=
 +
|country=
 
|viewmode=tablefooter
 
|viewmode=tablefooter
 
}}
 
}}
Line 72: Line 90:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
 +
|url=
 
|coordinate=
 
|coordinate=
|url=
+
|address=
 +
|city=
 +
|country=
 
|viewmode=labelfield
 
|viewmode=labelfield
 
}}
 
}}
Line 82: Line 103:
 
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Traininglocation<br>|}}
 
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Traininglocation<br>|}}
 
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
 
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
 +
{{#if:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}}
 
{{#if:{{{?coordinate|}}}|"{{{?coordinate}}}" is coordinate of it <br>|}}
 
{{#if:{{{?coordinate|}}}|"{{{?coordinate}}}" is coordinate of it <br>|}}
{{#if:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}}
+
{{#if:{{{?address|}}}|"{{{?address}}}" is address of it <br>|}}
 +
{{#if:{{{?city|}}}|"{{{?city}}}" is city of it <br>|}}
 +
{{#if:{{{?country|}}}|"{{{?country}}}" is country of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
Line 89: Line 113:
 
|isA=Traininglocation
 
|isA=Traininglocation
 
|Traininglocation name={{{name|}}}
 
|Traininglocation name={{{name|}}}
 +
|Traininglocation url={{{url|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
|Traininglocation url={{{url|}}}
+
|Traininglocation address={{{address|}}}
 +
|Traininglocation city={{{city|}}}
 +
|Traininglocation country={{{country|}}}
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
 
|isA=Traininglocation
 
|isA=Traininglocation
 
|Traininglocation name={{{name|}}}
 
|Traininglocation name={{{name|}}}
 +
|Traininglocation url={{{url|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
|Traininglocation url={{{url|}}}
+
|Traininglocation address={{{address|}}}
 +
|Traininglocation city={{{city|}}}
 +
|Traininglocation country={{{country|}}}
 
}}
 
}}
 
}}
 
}}
Line 102: Line 132:
 
|masterdetail=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!name!!coordinate!!url
+
!name!!url!!coordinate!!address!!city!!country
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{url|}}}
+
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{country|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>coordinate={{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>|#default={{{!}} class='wikitable'
+
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>coordinate={{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}<br>address={{#if:{{{address|}}}|{{{address|}}}|}}<br>city={{#if:{{{city|}}}|{{{city|}}}|}}<br>country={{#if:{{{country|}}}|{{{country|}}}|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Traininglocation
 
! colspan='2' {{!}}Traininglocation
 
{{!}}-
 
{{!}}-
Line 118: Line 148:
 
!name
 
!name
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
 +
{{!}}-
 +
!url
 +
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
 
{{!}}-
 
{{!}}-
 
!maploc
 
!maploc
 
{{!}}&nbsp;{{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}
 
{{!}}&nbsp;{{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}
 
{{!}}-
 
{{!}}-
!url
+
!address
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
+
{{!}}&nbsp;{{#if:{{{address|}}}|{{{address|}}}|}}
 +
{{!}}-
 +
!city
 +
{{!}}&nbsp;{{#if:{{{city|}}}|{{{city|}}}|}}
 +
{{!}}-
 +
!country
 +
{{!}}&nbsp;{{#if:{{{country|}}}|{{{country|}}}|}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
Line 136: Line 175:
 
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Traininglocation<br>|}}
 
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Traininglocation<br>|}}
 
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
 
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
 +
{{#if:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}}
 
{{#if:{{{?coordinate|}}}|"{{{?coordinate}}}" is coordinate of it <br>|}}
 
{{#if:{{{?coordinate|}}}|"{{{?coordinate}}}" is coordinate of it <br>|}}
{{#if:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}}
+
{{#if:{{{?address|}}}|"{{{?address}}}" is address of it <br>|}}
 +
{{#if:{{{?city|}}}|"{{{?city}}}" is city of it <br>|}}
 +
{{#if:{{{?country|}}}|"{{{?country}}}" is country of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
Line 143: Line 185:
 
|isA=Traininglocation
 
|isA=Traininglocation
 
|Traininglocation name={{{name|}}}
 
|Traininglocation name={{{name|}}}
 +
|Traininglocation url={{{url|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
|Traininglocation url={{{url|}}}
+
|Traininglocation address={{{address|}}}
 +
|Traininglocation city={{{city|}}}
 +
|Traininglocation country={{{country|}}}
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
 
|isA=Traininglocation
 
|isA=Traininglocation
 
|Traininglocation name={{{name|}}}
 
|Traininglocation name={{{name|}}}
 +
|Traininglocation url={{{url|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
|Traininglocation url={{{url|}}}
+
|Traininglocation address={{{address|}}}
 +
|Traininglocation city={{{city|}}}
 +
|Traininglocation country={{{country|}}}
 
}}
 
}}
 
}}
 
}}
Line 156: Line 204:
 
|masterdetail=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!name!!coordinate!!url
+
!name!!url!!coordinate!!address!!city!!country
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{url|}}}
+
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{country|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>coordinate={{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>|#default={{{!}} class='wikitable'
+
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>coordinate={{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}<br>address={{#if:{{{address|}}}|{{{address|}}}|}}<br>city={{#if:{{{city|}}}|{{{city|}}}|}}<br>country={{#if:{{{country|}}}|{{{country|}}}|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Traininglocation
 
! colspan='2' {{!}}Traininglocation
 
{{!}}-
 
{{!}}-
Line 172: Line 220:
 
!name
 
!name
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
 +
{{!}}-
 +
!url
 +
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
 
{{!}}-
 
{{!}}-
 
!maploc
 
!maploc
 
{{!}}&nbsp;{{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}
 
{{!}}&nbsp;{{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}
 
{{!}}-
 
{{!}}-
!url
+
!address
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
+
{{!}}&nbsp;{{#if:{{{address|}}}|{{{address|}}}|}}
 +
{{!}}-
 +
!city
 +
{{!}}&nbsp;{{#if:{{{city|}}}|{{{city|}}}|}}
 +
{{!}}-
 +
!country
 +
{{!}}&nbsp;{{#if:{{{country|}}}|{{{country|}}}|}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}

Revision as of 19:09, 8 November 2017

This is the template Traininglocation. It belongs to the concept/topic Concept:Traininglocation
You may find examples for the use of this template via the List of Traininglocations.

Usage

storemode subobject

{{Traininglocation
|name=
|url=
|coordinate=
|address=
|city=
|country=
|storemode=subobject
}}

storemode property

{{Traininglocation
|name=
|url=
|coordinate=
|address=
|city=
|country=
|storemode=property
}}

storemode none

{{Traininglocation
|name=
|url=
|coordinate=
|address=
|city=
|country=
|storemode=none
}}


viewmode tableheader

{{Traininglocation
|name=
|url=
|coordinate=
|address=
|city=
|country=
|viewmode=tableheader
}}

viewmode tablerow

{{Traininglocation
|name=
|url=
|coordinate=
|address=
|city=
|country=
|viewmode=tablerow
}}

viewmode tablefooter

{{Traininglocation
|name=
|url=
|coordinate=
|address=
|city=
|country=
|viewmode=tablefooter
}}

viewmode labelfield

{{Traininglocation
|name=
|url=
|coordinate=
|address=
|city=
|country=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Traininglocation<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}}
{{#if:{{{?coordinate|}}}|"{{{?coordinate}}}" is coordinate of it <br>|}}
{{#if:{{{?address|}}}|"{{{?address}}}" is address of it <br>|}}
{{#if:{{{?city|}}}|"{{{?city}}}" is city of it <br>|}}
{{#if:{{{?country|}}}|"{{{?country}}}" is country of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Traininglocation
|Traininglocation name={{{name|}}}
|Traininglocation url={{{url|}}}
|Traininglocation coordinate={{{coordinate|}}}
|Traininglocation address={{{address|}}}
|Traininglocation city={{{city|}}}
|Traininglocation country={{{country|}}}
}}
|#default={{#set:
|isA=Traininglocation
|Traininglocation name={{{name|}}}
|Traininglocation url={{{url|}}}
|Traininglocation coordinate={{{coordinate|}}}
|Traininglocation address={{{address|}}}
|Traininglocation city={{{city|}}}
|Traininglocation country={{{country|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
|tableheader={{{!}} class='wikitable'
!name!!url!!coordinate!!address!!city!!country
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{country|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>coordinate={{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}<br>address={{#if:{{{address|}}}|{{{address|}}}|}}<br>city={{#if:{{{city|}}}|{{{city|}}}|}}<br>country={{#if:{{{country|}}}|{{{country|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Traininglocation
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Traininglocation/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!name
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!url
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
{{!}}-
!maploc
{{!}}&nbsp;{{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}
{{!}}-
!address
{{!}}&nbsp;{{#if:{{{address|}}}|{{{address|}}}|}}
{{!}}-
!city
{{!}}&nbsp;{{#if:{{{city|}}}|{{{city|}}}|}}
{{!}}-
!country
{{!}}&nbsp;{{#if:{{{country|}}}|{{{country|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Traininglocation]]{{#default_form:Traininglocation}}

Source

Click on "Edit" to edit the noinclude-part Source of this Template.