Difference between revisions of "Template:Traininglocation"

From BITPlan Wiki
Jump to navigation Jump to search
m (created by WikiTask 2017-11-08T17:49:45Z)
m (created by WikiTask 2017-11-10T10:11:44Z)
 
Line 135: Line 135:
 
| ?Seminar kind = kind
 
| ?Seminar kind = kind
 
| ?Seminar lang = lang
 
| ?Seminar lang = lang
| ?Seminar thema = thema
 
 
| ?Seminar year = year
 
| ?Seminar year = year
 
| ?Seminar month = month
 
| ?Seminar month = month
Line 147: Line 146:
 
| ?Seminar trainer = trainer
 
| ?Seminar trainer = trainer
 
| ?Seminar city = city
 
| ?Seminar city = city
 +
| ?Seminar thema = thema
  
 
|sort=Seminar year,Seminar month
 
|sort=Seminar year,Seminar month
Line 227: Line 227:
 
| ?Seminar kind = kind
 
| ?Seminar kind = kind
 
| ?Seminar lang = lang
 
| ?Seminar lang = lang
| ?Seminar thema = thema
 
 
| ?Seminar year = year
 
| ?Seminar year = year
 
| ?Seminar month = month
 
| ?Seminar month = month
Line 239: Line 238:
 
| ?Seminar trainer = trainer
 
| ?Seminar trainer = trainer
 
| ?Seminar city = city
 
| ?Seminar city = city
 +
| ?Seminar thema = thema
  
 
|sort=Seminar year,Seminar month
 
|sort=Seminar year,Seminar month

Latest revision as of 11: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.