Difference between revisions of "Template:Traininglocation"

From BITPlan Wiki
Jump to navigation Jump to search
m (created by WikiTask 2017-11-08T17:09:18Z)
m (created by WikiTask 2017-11-08T17:39:58Z)
Line 20: Line 20:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
|city=
 
 
|country=
 
|country=
 
|storemode=subobject
 
|storemode=subobject
Line 32: Line 31:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
|city=
 
 
|country=
 
|country=
 
|storemode=property
 
|storemode=property
Line 44: Line 42:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
|city=
 
 
|country=
 
|country=
 
|storemode=none
 
|storemode=none
Line 57: Line 54:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
|city=
 
 
|country=
 
|country=
 
|viewmode=tableheader
 
|viewmode=tableheader
Line 69: Line 65:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
|city=
 
 
|country=
 
|country=
 
|viewmode=tablerow
 
|viewmode=tablerow
Line 81: Line 76:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
|city=
 
 
|country=
 
|country=
 
|viewmode=tablefooter
 
|viewmode=tablefooter
Line 93: Line 87:
 
|coordinate=
 
|coordinate=
 
|address=
 
|address=
|city=
 
 
|country=
 
|country=
 
|viewmode=labelfield
 
|viewmode=labelfield
Line 106: Line 99:
 
{{#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 116: Line 108:
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation address={{{address|}}}
 
|Traininglocation address={{{address|}}}
|Traininglocation city={{{city|}}}
 
 
|Traininglocation country={{{country|}}}
 
|Traininglocation country={{{country|}}}
 
}}
 
}}
Line 125: Line 116:
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation address={{{address|}}}
 
|Traininglocation address={{{address|}}}
|Traininglocation city={{{city|}}}
 
 
|Traininglocation country={{{country|}}}
 
|Traininglocation country={{{country|}}}
 
}}
 
}}
Line 131: Line 121:
 
{{#switch: {{{viewmode|}}}
 
{{#switch: {{{viewmode|}}}
 
|masterdetail=
 
|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 city = city
 +
| ?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'
 
|tableheader={{{!}} class='wikitable'
!name!!url!!coordinate!!address!!city!!country
+
!name!!url!!coordinate!!address!!country
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{country|}}}
+
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{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>city={{#if:{{{city|}}}|{{{city|}}}|}}<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>country={{#if:{{{country|}}}|{{{country|}}}|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Traininglocation
 
! colspan='2' {{!}}Traininglocation
 
{{!}}-
 
{{!}}-
Line 157: Line 168:
 
!address
 
!address
 
{{!}}&nbsp;{{#if:{{{address|}}}|{{{address|}}}|}}
 
{{!}}&nbsp;{{#if:{{{address|}}}|{{{address|}}}|}}
{{!}}-
 
!city
 
{{!}}&nbsp;{{#if:{{{city|}}}|{{{city|}}}|}}
 
 
{{!}}-
 
{{!}}-
 
!country
 
!country
Line 178: Line 186:
 
{{#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 188: Line 195:
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation address={{{address|}}}
 
|Traininglocation address={{{address|}}}
|Traininglocation city={{{city|}}}
 
 
|Traininglocation country={{{country|}}}
 
|Traininglocation country={{{country|}}}
 
}}
 
}}
Line 197: Line 203:
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation coordinate={{{coordinate|}}}
 
|Traininglocation address={{{address|}}}
 
|Traininglocation address={{{address|}}}
|Traininglocation city={{{city|}}}
 
 
|Traininglocation country={{{country|}}}
 
|Traininglocation country={{{country|}}}
 
}}
 
}}
Line 203: Line 208:
 
{{#switch: {{{viewmode|}}}
 
{{#switch: {{{viewmode|}}}
 
|masterdetail=
 
|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 city = city
 +
| ?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'
 
|tableheader={{{!}} class='wikitable'
!name!!url!!coordinate!!address!!city!!country
+
!name!!url!!coordinate!!address!!country
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{country|}}}
+
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{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>city={{#if:{{{city|}}}|{{{city|}}}|}}<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>country={{#if:{{{country|}}}|{{{country|}}}|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Traininglocation
 
! colspan='2' {{!}}Traininglocation
 
{{!}}-
 
{{!}}-
Line 229: Line 255:
 
!address
 
!address
 
{{!}}&nbsp;{{#if:{{{address|}}}|{{{address|}}}|}}
 
{{!}}&nbsp;{{#if:{{{address|}}}|{{{address|}}}|}}
{{!}}-
 
!city
 
{{!}}&nbsp;{{#if:{{{city|}}}|{{{city|}}}|}}
 
 
{{!}}-
 
{{!}}-
 
!country
 
!country

Revision as of 18:39, 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=
|country=
|storemode=subobject
}}

storemode property

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

storemode none

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


viewmode tableheader

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

viewmode tablerow

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

viewmode tablefooter

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

viewmode labelfield

{{Traininglocation
|name=
|url=
|coordinate=
|address=
|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:{{{?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 country={{{country|}}}
}}
|#default={{#set:
|isA=Traininglocation
|Traininglocation name={{{name|}}}
|Traininglocation url={{{url|}}}
|Traininglocation coordinate={{{coordinate|}}}
|Traininglocation address={{{address|}}}
|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 city = city
| ?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!!country
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{country|}}}
{{!}}-
|tablefooter={{!}}}
|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'
! 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|}}}|}}
{{!}}-
!country
{{!}}&nbsp;{{#if:{{{country|}}}|{{{country|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Traininglocation]]{{#default_form:Traininglocation}}

Source

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