Template:Traininglocation: Difference between revisions
Jump to navigation
Jump to search
m (created by WikiTask 2017-11-08T16:56:00Z) |
m (created by WikiTask 2017-11-10T10:11:44Z) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 17: | Line 17: | ||
<pre>{{Traininglocation | <pre>{{Traininglocation | ||
|name= | |name= | ||
|url= | |url= | ||
|coordinate= | |coordinate= | ||
|address= | |||
|city= | |||
|country= | |||
|storemode=subobject | |storemode=subobject | ||
}} | }} | ||
| Line 28: | Line 29: | ||
<pre>{{Traininglocation | <pre>{{Traininglocation | ||
|name= | |name= | ||
|url= | |url= | ||
|coordinate= | |coordinate= | ||
|address= | |||
|city= | |||
|country= | |||
|storemode=property | |storemode=property | ||
}} | }} | ||
| Line 39: | Line 41: | ||
<pre>{{Traininglocation | <pre>{{Traininglocation | ||
|name= | |name= | ||
|url= | |url= | ||
|coordinate= | |coordinate= | ||
|address= | |||
|city= | |||
|country= | |||
|storemode=none | |storemode=none | ||
}} | }} | ||
| Line 51: | Line 54: | ||
<pre>{{Traininglocation | <pre>{{Traininglocation | ||
|name= | |name= | ||
|url= | |url= | ||
|coordinate= | |coordinate= | ||
|address= | |||
|city= | |||
|country= | |||
|viewmode=tableheader | |viewmode=tableheader | ||
}} | }} | ||
| Line 62: | Line 66: | ||
<pre>{{Traininglocation | <pre>{{Traininglocation | ||
|name= | |name= | ||
|url= | |url= | ||
|coordinate= | |coordinate= | ||
|address= | |||
|city= | |||
|country= | |||
|viewmode=tablerow | |viewmode=tablerow | ||
}} | }} | ||
| Line 73: | Line 78: | ||
<pre>{{Traininglocation | <pre>{{Traininglocation | ||
|name= | |name= | ||
|url= | |url= | ||
|coordinate= | |coordinate= | ||
|address= | |||
|city= | |||
|country= | |||
|viewmode=tablefooter | |viewmode=tablefooter | ||
}} | }} | ||
| Line 84: | Line 90: | ||
<pre>{{Traininglocation | <pre>{{Traininglocation | ||
|name= | |name= | ||
|url= | |url= | ||
|coordinate= | |coordinate= | ||
|address= | |||
|city= | |||
|country= | |||
|viewmode=labelfield | |viewmode=labelfield | ||
}} | }} | ||
| Line 96: | 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:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}} | ||
{{#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:{{{?city|}}}|"{{{?city}}}" is city of it <br>|}} | |||
{{#if:{{{?country|}}}|"{{{?country}}}" is country of it <br>|}} | |||
|#default={{#switch:{{{storemode|}}} | |#default={{#switch:{{{storemode|}}} | ||
|none= | |none= | ||
| Line 105: | Line 113: | ||
|isA=Traininglocation | |isA=Traininglocation | ||
|Traininglocation name={{{name|}}} | |Traininglocation name={{{name|}}} | ||
|Traininglocation url={{{url|}}} | |Traininglocation url={{{url|}}} | ||
|Traininglocation coordinate={{{coordinate|}}} | |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 url={{{url|}}} | |Traininglocation url={{{url|}}} | ||
|Traininglocation coordinate={{{coordinate|}}} | |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!! | !name!!url!!coordinate!!address!!city!!country | ||
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
{{!}}{{{name|}}}{{!}}{{!}}{{{ | {{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{country|}}} | ||
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
name={{#if:{{{name|}}}|{{{name|}}}|}}<br> | 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 138: | Line 168: | ||
!name | !name | ||
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | {{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | ||
{{!}}- | {{!}}- | ||
!url | !url | ||
| Line 150: | Line 174: | ||
!maploc | !maploc | ||
{{!}} {{#if:{{{coordinate|}}}|{{{coordinate|}}}|}} | {{!}} {{#if:{{{coordinate|}}}|{{{coordinate|}}}|}} | ||
{{!}}- | |||
!address | |||
{{!}} {{#if:{{{address|}}}|{{{address|}}}|}} | |||
{{!}}- | |||
!city | |||
{{!}} {{#if:{{{city|}}}|{{{city|}}}|}} | |||
{{!}}- | |||
!country | |||
{{!}} {{#if:{{{country|}}}|{{{country|}}}|}} | |||
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} | ||
| Line 162: | 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:{{{?url|}}}|"{{{?url}}}" is url 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:{{{?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 171: | Line 205: | ||
|isA=Traininglocation | |isA=Traininglocation | ||
|Traininglocation name={{{name|}}} | |Traininglocation name={{{name|}}} | ||
|Traininglocation url={{{url|}}} | |Traininglocation url={{{url|}}} | ||
|Traininglocation coordinate={{{coordinate|}}} | |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 url={{{url|}}} | |Traininglocation url={{{url|}}} | ||
|Traininglocation coordinate={{{coordinate|}}} | |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!! | !name!!url!!coordinate!!address!!city!!country | ||
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
{{!}}{{{name|}}}{{!}}{{!}}{{{ | {{!}}{{{name|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{coordinate|}}}{{!}}{{!}}{{{address|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{country|}}} | ||
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
name={{#if:{{{name|}}}|{{{name|}}}|}}<br> | 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 204: | Line 260: | ||
!name | !name | ||
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | {{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | ||
{{!}}- | {{!}}- | ||
!url | !url | ||
| Line 216: | Line 266: | ||
!maploc | !maploc | ||
{{!}} {{#if:{{{coordinate|}}}|{{{coordinate|}}}|}} | {{!}} {{#if:{{{coordinate|}}}|{{{coordinate|}}}|}} | ||
{{!}}- | |||
!address | |||
{{!}} {{#if:{{{address|}}}|{{{address|}}}|}} | |||
{{!}}- | |||
!city | |||
{{!}} {{#if:{{{city|}}}|{{{city|}}}|}} | |||
{{!}}- | |||
!country | |||
{{!}} {{#if:{{{country|}}}|{{{country|}}}|}} | |||
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} | ||
Latest revision as of 10: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
}}
{{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
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!url
{{!}} {{#if:{{{url|}}}|{{{url|}}}|}}
{{!}}-
!maploc
{{!}} {{#if:{{{coordinate|}}}|{{{coordinate|}}}|}}
{{!}}-
!address
{{!}} {{#if:{{{address|}}}|{{{address|}}}|}}
{{!}}-
!city
{{!}} {{#if:{{{city|}}}|{{{city|}}}|}}
{{!}}-
!country
{{!}} {{#if:{{{country|}}}|{{{country|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Traininglocation]]{{#default_form:Traininglocation}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.