Difference between revisions of "Template:Traininglocation"

From BITPlan Wiki
Jump to navigation Jump to search
m (created by WikiTask 2017-11-08T17:39:58Z)
m (created by WikiTask 2017-11-08T17:49:45Z)
Line 20: Line 20:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
 +
|city=
 
|country=
 
|country=
 
|storemode=subobject
 
|storemode=subobject
Line 31: Line 32:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
 +
|city=
 
|country=
 
|country=
 
|storemode=property
 
|storemode=property
Line 42: Line 44:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
 +
|city=
 
|country=
 
|country=
 
|storemode=none
 
|storemode=none
Line 54: Line 57:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
 +
|city=
 
|country=
 
|country=
 
|viewmode=tableheader
 
|viewmode=tableheader
Line 65: Line 69:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
 +
|city=
 
|country=
 
|country=
 
|viewmode=tablerow
 
|viewmode=tablerow
Line 76: Line 81:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
 +
|city=
 
|country=
 
|country=
 
|viewmode=tablefooter
 
|viewmode=tablefooter
Line 87: Line 93:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
 +
|city=
 
|country=
 
|country=
 
|viewmode=labelfield
 
|viewmode=labelfield
Line 99: Line 106:
 
{{#if:{{{?coordinate|}}}|"{{{?coordinate}}}" is coordinate of it <br>|}}
 
{{#if:{{{?coordinate|}}}|"{{{?coordinate}}}" is coordinate of it <br>|}}
 
{{#if:{{{?address|}}}|"{{{?address}}}" is address 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>|}}
 
{{#if:{{{?country|}}}|"{{{?country}}}" is country of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
Line 108: Line 116:
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation address={{{address|}}}
 
|Traininglocation address={{{address|}}}
 +
|Traininglocation city={{{city|}}}
 
|Traininglocation country={{{country|}}}
 
|Traininglocation country={{{country|}}}
 
}}
 
}}
Line 116: Line 125:
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation address={{{address|}}}
 
|Traininglocation address={{{address|}}}
 +
|Traininglocation city={{{city|}}}
 
|Traininglocation country={{{country|}}}
 
|Traininglocation country={{{country|}}}
 
}}
 
}}
Line 129: Line 139:
 
| ?Seminar month = month
 
| ?Seminar month = month
 
| ?Seminar inHouse = inHouse
 
| ?Seminar inHouse = inHouse
| ?Seminar city = city
 
 
| ?Seminar from = from
 
| ?Seminar from = from
 
| ?Seminar to = to
 
| ?Seminar to = to
Line 143: Line 152:
 
}}
 
}}
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!name!!url!!coordinate!!address!!country
+
!name!!url!!coordinate!!address!!city!!country
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{country|}}}
+
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{country|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>coordinate={{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}<br>address={{#if:{{{address|}}}|{{{address|}}}|}}<br>country={{#if:{{{country|}}}|{{{country|}}}|}}<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 168: Line 177:
 
!address
 
!address
 
{{!}}&nbsp;{{#if:{{{address|}}}|{{{address|}}}|}}
 
{{!}}&nbsp;{{#if:{{{address|}}}|{{{address|}}}|}}
 +
{{!}}-
 +
!city
 +
{{!}}&nbsp;{{#if:{{{city|}}}|{{{city|}}}|}}
 
{{!}}-
 
{{!}}-
 
!country
 
!country
Line 186: Line 198:
 
{{#if:{{{?coordinate|}}}|"{{{?coordinate}}}" is coordinate of it <br>|}}
 
{{#if:{{{?coordinate|}}}|"{{{?coordinate}}}" is coordinate of it <br>|}}
 
{{#if:{{{?address|}}}|"{{{?address}}}" is address 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>|}}
 
{{#if:{{{?country|}}}|"{{{?country}}}" is country of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
Line 195: Line 208:
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation address={{{address|}}}
 
|Traininglocation address={{{address|}}}
 +
|Traininglocation city={{{city|}}}
 
|Traininglocation country={{{country|}}}
 
|Traininglocation country={{{country|}}}
 
}}
 
}}
Line 203: Line 217:
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation address={{{address|}}}
 
|Traininglocation address={{{address|}}}
 +
|Traininglocation city={{{city|}}}
 
|Traininglocation country={{{country|}}}
 
|Traininglocation country={{{country|}}}
 
}}
 
}}
Line 216: Line 231:
 
| ?Seminar month = month
 
| ?Seminar month = month
 
| ?Seminar inHouse = inHouse
 
| ?Seminar inHouse = inHouse
| ?Seminar city = city
 
 
| ?Seminar from = from
 
| ?Seminar from = from
 
| ?Seminar to = to
 
| ?Seminar to = to
Line 230: Line 244:
 
}}
 
}}
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!name!!url!!coordinate!!address!!country
+
!name!!url!!coordinate!!address!!city!!country
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{country|}}}
+
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{country|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>coordinate={{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}<br>address={{#if:{{{address|}}}|{{{address|}}}|}}<br>country={{#if:{{{country|}}}|{{{country|}}}|}}<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 255: Line 269:
 
!address
 
!address
 
{{!}}&nbsp;{{#if:{{{address|}}}|{{{address|}}}|}}
 
{{!}}&nbsp;{{#if:{{{address|}}}|{{{address|}}}|}}
 +
{{!}}-
 +
!city
 +
{{!}}&nbsp;{{#if:{{{city|}}}|{{{city|}}}|}}
 
{{!}}-
 
{{!}}-
 
!country
 
!country

Revision as of 19:49, 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=
= seminars =
{{#ask:[[Concept:Seminar]][[Seminar city::{{FULLPAGENAME}}]]
| ?Seminar kind = kind
| ?Seminar lang = lang
| ?Seminar thema = thema
| ?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

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