Difference between pages "Template:GMap" and "Template:Licensing Box"

From LCA2015 Delegate wiki
(Difference between pages)
Jump to: navigation, search
m (problems with unnamed urls)
 
m (Parameters: tweak)
 
Line 1: Line 1:
<includeonly>: <small>[[File:location-162102.png|16px|baseline|Google Maps|link={{{url}}}]] ''Google map:''  [{{{url}}} {{{title}}}]</small></includeonly><noinclude>
+
<includeonly>{| class="hiddentable" cellspacing="8" cellpadding="0" style="width:100%; clear:both; text-align:center; margin:0.5em auto; background-color:#FFFFEE; border:2px solid #CCCCCA;"
[[Category:Markup Templates]]
+
| style="vertical-align:middle;" | {{{imagel|}}}
 +
| style="width:100%;" | {{{1|{{{ctext}}}}}}
 +
| style="vertical-align:middle;" | {{{imager|}}}
 +
|}</includeonly><noinclude>[[Category:Licensing Templates]]
 
== Description ==
 
== Description ==
Places a hatnote with a link to a specific Google Map. Should only be used at the beginning of a new line.
+
The base template for creating content license templates from. Copied from the [http://www.uesp.net/wiki/Template:File_Copyright_Box Unofficial Elder Scrolls Pages] (UESP) Wiki.
 
+
 
== Parameters ==
 
== Parameters ==
 
{| class="wikitable"
 
{| class="wikitable"
! colspan=3 | Template:GMap
+
! colspan=3 | Template:Licensing Box
 
|-
 
|-
 
! Parameter !! Scope !! Description
 
! Parameter !! Scope !! Description
 
|-
 
|-
| <code>url</code> || required || First unnamed param. The URL link to the specified Google Map.
+
| <code>ctext</code> || required || The copyright text to display. Parameter name not required if it's the first parameter given.
 
|-
 
|-
| <code>title</code> || required || Second unnamed param. The name/title of the specified Google Map.
+
| <code>imagel<br>imager</code> || optional || The left and right image box contents. Note that the content does not have to be strictly images.
|}
+
|}</noinclude>
 
+
== Example ==
+
<pre>{{GMap|url=https://www.google.co.nz/maps/search/dining/@-36.8528995,174.7713,15z/data=!3m1!4b1!4m4
+
!2m3!3m2!1sdining!2s-36.8529,+174.7713|title=Dining locations near the OGGB building.}}</pre>
+
 
+
Will display as...
+
{{GMap|url=https://www.google.co.nz/maps/search/dining/@-36.8528995,174.7713,15z/data=!3m1!4b1!4m4!2m3!3m2!1sdining!2s-36.8529,+174.7713|title=Dining locations near the OGGB building.}}
+
 
+
</noinclude>
+

Latest revision as of 22:46, 1 January 2015

Description

The base template for creating content license templates from. Copied from the Unofficial Elder Scrolls Pages (UESP) Wiki.

Parameters

Template:Licensing Box
Parameter Scope Description
ctext required The copyright text to display. Parameter name not required if it's the first parameter given.
imagel
imager
optional The left and right image box contents. Note that the content does not have to be strictly images.