Difference between revisions of "Template:Bogensportverein"

From BITPlan Wiki
Jump to navigation Jump to search
(created by WikiTask 2019-01-21T15:30:43Z)
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
<!--
 
<!--
   -- Copyright (C) 2015-2018 BITPlan GmbH
+
   -- Copyright (C) 2015 BITPlan GmbH
 
   --  
 
   --  
 
   -- Pater-Delp-Str. -- 1
 
   -- Pater-Delp-Str. -- 1
Line 94: Line 94:
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
|subobject={{#subobject:-
+
 
|isA=Bogensportverein
+
|{{#set:
|Bogensportverein name={{{name|}}}
 
|Bogensportverein lat={{{lat|}}}
 
|Bogensportverein lon={{{lon|}}}
 
|Bogensportverein url={{{url|}}}
 
}}
 
|#default={{#set:
 
 
|isA=Bogensportverein
 
|isA=Bogensportverein
 
|Bogensportverein name={{{name|}}}
 
|Bogensportverein name={{{name|}}}
Line 110: Line 104:
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
{{#switch: {{{viewmode|}}}
|hidden=
 
 
|masterdetail=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
Line 142: Line 135:
 
}}
 
}}
 
}}
 
}}
[[Category:Bogensportverein]]{{#default_form:Bogensportverein}}
+
[[Category:Bogensportverein]]
 
</source>
 
</source>
 
=== Source ===
 
=== Source ===
Line 155: Line 148:
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
|subobject={{#subobject:-
+
 
|isA=Bogensportverein
+
|{{#set:
|Bogensportverein name={{{name|}}}
 
|Bogensportverein lat={{{lat|}}}
 
|Bogensportverein lon={{{lon|}}}
 
|Bogensportverein url={{{url|}}}
 
}}
 
|#default={{#set:
 
 
|isA=Bogensportverein
 
|isA=Bogensportverein
 
|Bogensportverein name={{{name|}}}
 
|Bogensportverein name={{{name|}}}
Line 168: Line 155:
 
|Bogensportverein lon={{{lon|}}}
 
|Bogensportverein lon={{{lon|}}}
 
|Bogensportverein url={{{url|}}}
 
|Bogensportverein url={{{url|}}}
 +
|Has_coordinates={{{lat|}}},{{{lon|}}}
 
}}
 
}}
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
{{#switch: {{{viewmode|}}}
|hidden=
 
 
|masterdetail=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
Line 201: Line 188:
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
 +
{{#ask:
 +
[[{{FULLPAGENAME}}]]
 +
|?Has coordinates
 +
|format=leaflet
 +
}}
 
}}
 
}}
 
}}
 
}}
[[Category:Bogensportverein]]{{#default_form:Bogensportverein}}</includeonly>
+
[[Category:Bogensportverein]]</includeonly>

Latest revision as of 16:44, 21 January 2019

This is the template Bogensportverein. It belongs to the concept/topic Concept:Bogensportverein
You may find examples for the use of this template via the List of Bogensportvereine.

Usage

storemode subobject

{{Bogensportverein
|name=
|lat=
|lon=
|url=
|storemode=subobject
}}

storemode property

{{Bogensportverein
|name=
|lat=
|lon=
|url=
|storemode=property
}}

storemode none

{{Bogensportverein
|name=
|lat=
|lon=
|url=
|storemode=none
}}


viewmode tableheader

{{Bogensportverein
|name=
|lat=
|lon=
|url=
|viewmode=tableheader
}}

viewmode tablerow

{{Bogensportverein
|name=
|lat=
|lon=
|url=
|viewmode=tablerow
}}

viewmode tablefooter

{{Bogensportverein
|name=
|lat=
|lon=
|url=
|viewmode=tablefooter
}}

viewmode labelfield

{{Bogensportverein
|name=
|lat=
|lon=
|url=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Bogensportverein<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>|}}
|#default={{#switch:{{{storemode|}}}
|none=

|{{#set:
|isA=Bogensportverein
|Bogensportverein name={{{name|}}}
|Bogensportverein lat={{{lat|}}}
|Bogensportverein lon={{{lon|}}}
|Bogensportverein url={{{url|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
|tableheader={{{!}} class='wikitable'
!name!!lat!!lon!!url
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{lat|}}}{{!}}{{!}}{{{lon|}}}{{!}}{{!}}{{{url|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>lat={{#if:{{{lat|}}}|{{{lat|}}}|}}<br>lon={{#if:{{{lon|}}}|{{{lon|}}}|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Bogensportverein
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Bogensportverein/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!name
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!lat
{{!}}&nbsp;{{#if:{{{lat|}}}|{{{lat|}}}|}}
{{!}}-
!lon
{{!}}&nbsp;{{#if:{{{lon|}}}|{{{lon|}}}|}}
{{!}}-
!url
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Bogensportverein]]

Source

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