Difference between revisions of "Template:Traininglocation"

From BITPlan Wiki
Jump to navigation Jump to search
(created by WikiTask 2017-11-05T16:11:44Z)
 
m (created by WikiTask 2017-11-10T10:11:44Z)
 
(5 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
|lat=
 
|lon=
 
 
|url=
 
|url=
 +
|coordinate=
 +
|address=
 +
|city=
 +
|country=
 
|storemode=subobject
 
|storemode=subobject
 
}}
 
}}
Line 27: Line 29:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
|lat=
 
|lon=
 
 
|url=
 
|url=
 +
|coordinate=
 +
|address=
 +
|city=
 +
|country=
 
|storemode=property
 
|storemode=property
 
}}
 
}}
Line 37: Line 41:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
|lat=
 
|lon=
 
 
|url=
 
|url=
 +
|coordinate=
 +
|address=
 +
|city=
 +
|country=
 
|storemode=none
 
|storemode=none
 
}}
 
}}
Line 48: Line 54:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
|lat=
 
|lon=
 
 
|url=
 
|url=
 +
|coordinate=
 +
|address=
 +
|city=
 +
|country=
 
|viewmode=tableheader
 
|viewmode=tableheader
 
}}
 
}}
Line 58: Line 66:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
|lat=
 
|lon=
 
 
|url=
 
|url=
 +
|coordinate=
 +
|address=
 +
|city=
 +
|country=
 
|viewmode=tablerow
 
|viewmode=tablerow
 
}}
 
}}
Line 68: Line 78:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
|lat=
 
|lon=
 
 
|url=
 
|url=
 +
|coordinate=
 +
|address=
 +
|city=
 +
|country=
 
|viewmode=tablefooter
 
|viewmode=tablefooter
 
}}
 
}}
Line 78: Line 90:
 
<pre>{{Traininglocation
 
<pre>{{Traininglocation
 
|name=
 
|name=
|lat=
 
|lon=
 
 
|url=
 
|url=
 +
|coordinate=
 +
|address=
 +
|city=
 +
|country=
 
|viewmode=labelfield
 
|viewmode=labelfield
 
}}
 
}}
Line 89: 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:{{{?lat|}}}|"{{{?lat}}}" is lat of it <br>|}}
 
{{#if:{{{?lon|}}}|"{{{?lon}}}" is lon of it <br>|}}
 
 
{{#if:{{{?url|}}}|"{{{?url}}}" is url 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|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
Line 97: Line 113:
 
|isA=Traininglocation
 
|isA=Traininglocation
 
|Traininglocation name={{{name|}}}
 
|Traininglocation name={{{name|}}}
|Traininglocation lat={{{lat|}}}
 
|Traininglocation lon={{{lon|}}}
 
 
|Traininglocation url={{{url|}}}
 
|Traininglocation url={{{url|}}}
 +
|Traininglocation coordinate={{{coordinate|}}}
 +
|Traininglocation address={{{address|}}}
 +
|Traininglocation city={{{city|}}}
 +
|Traininglocation country={{{country|}}}
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
 
|isA=Traininglocation
 
|isA=Traininglocation
 
|Traininglocation name={{{name|}}}
 
|Traininglocation name={{{name|}}}
|Traininglocation lat={{{lat|}}}
 
|Traininglocation lon={{{lon|}}}
 
 
|Traininglocation url={{{url|}}}
 
|Traininglocation url={{{url|}}}
 +
|Traininglocation coordinate={{{coordinate|}}}
 +
|Traininglocation address={{{address|}}}
 +
|Traininglocation city={{{city|}}}
 +
|Traininglocation country={{{country|}}}
 
}}
 
}}
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
{{#switch: {{{viewmode|}}}
 
|masterdetail=
 
|masterdetail=
 +
= seminars =
 +
{{#ask:[[Concept:Seminar]][[Seminar city::{{FULLPAGENAME}}]]
 +
| ?Seminar kind = kind
 +
| ?Seminar lang = lang
 +
| ?Seminar year = year
 +
| ?Seminar month = month
 +
| ?Seminar inHouse = inHouse
 +
| ?Seminar from = from
 +
| ?Seminar to = to
 +
| ?Seminar title = title
 +
| ?Seminar contact = contact
 +
| ?Seminar customer = customer
 +
| ?Seminar documentation = documentation
 +
| ?Seminar trainer = trainer
 +
| ?Seminar city = city
 +
| ?Seminar thema = thema
 +
 +
|sort=Seminar year,Seminar month
 +
|order=descending,descending
 +
}}
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!name!!lat!!lon!!url
+
!name!!url!!coordinate!!address!!city!!country
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{lat|}}}{{!}}{{!}}{{{lon|}}}{{!}}{{!}}{{{url|}}}
+
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{country|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>lat={{#if:{{{lat|}}}|{{{lat|}}}|}}<br>lon={{#if:{{{lon|}}}|{{{lon|}}}|}}<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 129: Line 169:
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
 
{{!}}-
 
{{!}}-
!lat
+
!url
{{!}}&nbsp;{{#if:{{{lat|}}}|{{{lat|}}}|}}
+
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
 +
{{!}}-
 +
!maploc
 +
{{!}}&nbsp;{{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}
 +
{{!}}-
 +
!address
 +
{{!}}&nbsp;{{#if:{{{address|}}}|{{{address|}}}|}}
 
{{!}}-
 
{{!}}-
!lon
+
!city
{{!}}&nbsp;{{#if:{{{lon|}}}|{{{lon|}}}|}}
+
{{!}}&nbsp;{{#if:{{{city|}}}|{{{city|}}}|}}
 
{{!}}-
 
{{!}}-
!url
+
!country
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
+
{{!}}&nbsp;{{#if:{{{country|}}}|{{{country|}}}|}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
Line 149: Line 195:
 
</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:{{{?lat|}}}|"{{{?lat}}}" is lat of it <br>|}}
 
{{#if:{{{?lon|}}}|"{{{?lon}}}" is lon of it <br>|}}
 
 
{{#if:{{{?url|}}}|"{{{?url}}}" is url 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|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
Line 157: Line 205:
 
|isA=Traininglocation
 
|isA=Traininglocation
 
|Traininglocation name={{{name|}}}
 
|Traininglocation name={{{name|}}}
|Traininglocation lat={{{lat|}}}
 
|Traininglocation lon={{{lon|}}}
 
 
|Traininglocation url={{{url|}}}
 
|Traininglocation url={{{url|}}}
 +
|Traininglocation coordinate={{{coordinate|}}}
 +
|Traininglocation address={{{address|}}}
 +
|Traininglocation city={{{city|}}}
 +
|Traininglocation country={{{country|}}}
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
 
|isA=Traininglocation
 
|isA=Traininglocation
 
|Traininglocation name={{{name|}}}
 
|Traininglocation name={{{name|}}}
|Traininglocation lat={{{lat|}}}
 
|Traininglocation lon={{{lon|}}}
 
 
|Traininglocation url={{{url|}}}
 
|Traininglocation url={{{url|}}}
 +
|Traininglocation coordinate={{{coordinate|}}}
 +
|Traininglocation address={{{address|}}}
 +
|Traininglocation city={{{city|}}}
 +
|Traininglocation country={{{country|}}}
 
}}
 
}}
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
{{#switch: {{{viewmode|}}}
 
|masterdetail=
 
|masterdetail=
 +
= seminars =
 +
{{#ask:[[Concept:Seminar]][[Seminar city::{{FULLPAGENAME}}]]
 +
| ?Seminar kind = kind
 +
| ?Seminar lang = lang
 +
| ?Seminar year = year
 +
| ?Seminar month = month
 +
| ?Seminar inHouse = inHouse
 +
| ?Seminar from = from
 +
| ?Seminar to = to
 +
| ?Seminar title = title
 +
| ?Seminar contact = contact
 +
| ?Seminar customer = customer
 +
| ?Seminar documentation = documentation
 +
| ?Seminar trainer = trainer
 +
| ?Seminar city = city
 +
| ?Seminar thema = thema
 +
 +
|sort=Seminar year,Seminar month
 +
|order=descending,descending
 +
}}
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!name!!lat!!lon!!url
+
!name!!url!!coordinate!!address!!city!!country
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{lat|}}}{{!}}{{!}}{{{lon|}}}{{!}}{{!}}{{{url|}}}
+
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{country|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>lat={{#if:{{{lat|}}}|{{{lat|}}}|}}<br>lon={{#if:{{{lon|}}}|{{{lon|}}}|}}<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 189: Line 261:
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
 
{{!}}-
 
{{!}}-
!lat
+
!url
{{!}}&nbsp;{{#if:{{{lat|}}}|{{{lat|}}}|}}
+
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
 +
{{!}}-
 +
!maploc
 +
{{!}}&nbsp;{{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}
 +
{{!}}-
 +
!address
 +
{{!}}&nbsp;{{#if:{{{address|}}}|{{{address|}}}|}}
 
{{!}}-
 
{{!}}-
!lon
+
!city
{{!}}&nbsp;{{#if:{{{lon|}}}|{{{lon|}}}|}}
+
{{!}}&nbsp;{{#if:{{{city|}}}|{{{city|}}}|}}
 
{{!}}-
 
{{!}}-
!url
+
!country
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
+
{{!}}&nbsp;{{#if:{{{country|}}}|{{{country|}}}|}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}

Latest revision as of 12:11, 10 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=
= seminars =
{{#ask:[[Concept:Seminar]][[Seminar city::{{FULLPAGENAME}}]]
| ?Seminar kind = kind
| ?Seminar lang = lang
| ?Seminar year = year
| ?Seminar month = month
| ?Seminar inHouse = inHouse
| ?Seminar from = from
| ?Seminar to = to
| ?Seminar title = title
| ?Seminar contact = contact
| ?Seminar customer = customer
| ?Seminar documentation = documentation
| ?Seminar trainer = trainer
| ?Seminar city = city
| ?Seminar thema = thema

|sort=Seminar year,Seminar month
|order=descending,descending
}}
|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.