Difference between revisions of "Template:List LDS Temple World Map/doc"

From blackwiki
Jump to navigation Jump to search
imported>ARTEST4ECHO
imported>Nihonjoe
(it's purple)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{| style="float:right; border: 1px dotted;"
 +
|-
 +
|OtherMap templates:
 +
* Used on geographic list page and on lists at bottom of page
 +
** {{tl|List LDS Temple World Map}}
 +
** {{tl|List LDS Temple Africa Map}}
 +
** {{tl|List LDS Temple Asia Map}}
 +
** {{tl|List LDS Temple Australia Map}}
 +
** {{tl|List LDS Temple Brazil Map}}
 +
<!-- ** {{tl|List LDS Temple California Map}} -->
 +
** {{tl|List LDS Temple Canada Map}}
 +
** {{tl|List LDS Temple Central America Map}}
 +
** {{tl|List LDS Temple Europe Map}}
 +
** {{tl|List LDS Temple Mexico Map}}
 +
** {{tl|List LDS Temple Oceania Map}}
 +
** {{tl|List LDS Temple South America Map}}
 +
** {{tl|List LDS Temple South America North Map}}
 +
** {{tl|List LDS Temple South America South Map}}
 +
** {{tl|List LDS Temple USA Central Map}}
 +
** {{tl|List LDS Temple USA East Map}}
 +
** {{tl|List LDS Temple USA Northwest Map}}
 +
** {{tl|List LDS Temple USA Southwest Map}}
 +
** {{tl|List LDS Temple Utah Map}}
 +
|}
  
 
== Blank template and Parameter Definitions ==
 
== Blank template and Parameter Definitions ==
Line 33: Line 57:
 
|}
 
|}
  
== Examples ==
+
== Example ==
 
{|
 
{|
 
|-
 
|-
Line 47: Line 71:
 
|}
 
|}
  
 +
== Changing Dot colors (ie. status change) ==
  
== Editing dots ==
 
 
===Wasatch Front, Utah area temples===
 
===Wasatch Front, Utah area temples===
Due to the number of temples is the Wasatch Front, Utah area, ie the Salt Lake City area, they should not be added to this template.  To add information located the "Wasatch Front Area, Utah" section and add temple information to the "notes".  To update the status of a Wasatch Front temple located the "Wasatch Front temple Statuses" towards the bottom of the page and update the overall information.
+
Due to the number of temples is the Wasatch Front, Utah area, i.e. the Salt Lake City area, they are grouped into one large linked purple square.  To add information located the "Wasatch Front Area, Utah" section and add temple information to the "notes".  To update the status of a Wasatch Front temple located the "Wasatch Front temple Statuses" section towards the bottom of the page and update the overall information.
 +
 
 +
=== Other Temples ===
 +
For Temples not in the Wasatch Front, Utah area, the dot color is related to the current status of the temple, (e.g. Operating temples, Temples under construction)  The dot color is automatically updated by the current "Status" on the data page for the temple (e.g. Template:LDS Temple/TEMPLENAME)
 +
 
 +
For example, to change the [[Salt Lake Temple]] from "closed" to "operating" you would need to go to [[:Template:LDS Temple/Salt Lake Temple]] and change the "status" field:<br>
 +
&nbsp;from<br>
 +
&nbsp;&nbsp;| status = closed<br>
 +
&nbsp;to<br>
 +
&nbsp;&nbsp;| status = operating<br>
 +
 
 +
However, the default is "operating".
 +
 
 +
==Adding Temples==
 +
All Temples are listed alphabetically.
  
=== Changing Dot colors (ie. status change) ===
+
===Wasatch Front, Utah area temples===
The dot color is related to the current status of the temple, (ie. Operating temples, Temples under construction, etc.)  To change the color of the dot located the temple name and change to color codeFor example, to change the Los Angeles California Temple from "under construction" to "Operating" you would change:<br>
+
Due to the number of temples is the Wasatch Front, Utah area, i.e. the Salt Lake City area, they are grouped into one large linked green squareHowever, a place holder has been should be included by placing, in the correct alphabetical spot:
from <br>
 
&nbsp;&nbsp;<nowiki>{{Image label|x=0.1575|y=0.1388|scale={{{width|1000}}}||text=[[Los Angeles California Temple|<big><big><font color=#CC0000>•]]</font>}}</nowiki><br>
 
to<br>
 
&nbsp;&nbsp;<nowiki>{{Image label|x=0.1575|y=0.1388|scale={{{width|1000}}}||text=[[Los Angeles California Temple|<big><big><font color=#CC0000>•]]</font>}}</nowiki><br>
 
  
====Dot colors codes====
+
<nowiki><!--</nowiki> TEMPLE NAME: See below  (Wasatch Front Area) <nowiki>--></nowiki>
  
{| class="wikitable"
+
Then the temple should be added to the Wasatch Front Area section at the bottom.
!  Status
 
!  font color=
 
|-
 
| Operating temples
 
| #CC0000
 
|-
 
| Under construction
 
| #003399
 
|-
 
|Announced
 
| #FFFF33
 
|-
 
| Closed, destroyed, operated by others, or efforts suspended
 
| #000000
 
|}
 
  
===Moving Locations (ie X/Y)===
+
===Other Temples===
 +
Locate the correct alphabetical spot and add:
 +
<nowiki>{{Image label|x= XLOCATION |y= YLOCATION |scale={{{width|DEFAULTSIZE}}}|text={{LDS Temple/TEMPLENAME|format=List LDS Temple World Map/status}}}}</nowiki>
  
 +
====Dot Locations (ie X/Y)====
 
X and Y values are always between 0 and 1.
 
X and Y values are always between 0 and 1.
 
They represent the percentages of the width and height respectively where the label will be placed.
 
They represent the percentages of the width and height respectively where the label will be placed.
Line 89: Line 111:
 
  x=0.5|y=0.5 will place the top-left corner of the label at the centre      of the image
 
  x=0.5|y=0.5 will place the top-left corner of the label at the centre      of the image
  
===Width/Scale===
+
==Width/Scale==
  
 
'''All widths must be set to the same number'''. They must all be the same number for the template to be <u>functionally scalable</u>.
 
'''All widths must be set to the same number'''. They must all be the same number for the template to be <u>functionally scalable</u>.
Line 96: Line 118:
  
 
To change the default size, search and replace all occurrences of <nowiki>{{{width|</nowiki>'''current size'''<nowiki>}}} with <nowiki>{{{width|</nowiki>'''new size'''<nowiki>}}}</nowiki>
 
To change the default size, search and replace all occurrences of <nowiki>{{{width|</nowiki>'''current size'''<nowiki>}}} with <nowiki>{{{width|</nowiki>'''new size'''<nowiki>}}}</nowiki>
 
=== Linking Text ===
 
 
The dot label will like to temple page when using the following format.<br>
 
&nbsp;&nbsp;''<nowiki>text=[[</nowiki>'''TEMPLE PAGENAME'''<nowiki>|<big><big><font color=#000000>•]]</font></nowiki>''
 

Latest revision as of 21:07, 8 October 2018

OtherMap templates:

Blank template and Parameter Definitions

Blank template with basic parameters Parameter Explanation
{{List LDS Temple World Map
| width                      = <!-- Do not add "px" -->
| float                      =
| border-size                = <!-- Do not add "px" -->
| border-type                = 
| border-color               = 
}}
width Overall width of Template. "px" is not required. Default: 1000px.
float Location of Template on page. Default: left.
border-size Default: 3px.
border-type Type of border. Other choices are "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", and "outset". Default: ridge.
border-color Using color names, changes the border color. Default: darkgray

Example

  Operating
  Construction
  Announced
  Closed
  Suspended
  Historic Site
  Wasatch Front, Utah area temples
{{List LDS Temple World Map
| width                      = 600
| float                      = left
| border-size                = 3
| border-type                = ridge
| border-color               = darkgray
}}

Changing Dot colors (ie. status change)

Wasatch Front, Utah area temples

Due to the number of temples is the Wasatch Front, Utah area, i.e. the Salt Lake City area, they are grouped into one large linked purple square. To add information located the "Wasatch Front Area, Utah" section and add temple information to the "notes". To update the status of a Wasatch Front temple located the "Wasatch Front temple Statuses" section towards the bottom of the page and update the overall information.

Other Temples

For Temples not in the Wasatch Front, Utah area, the dot color is related to the current status of the temple, (e.g. Operating temples, Temples under construction) The dot color is automatically updated by the current "Status" on the data page for the temple (e.g. Template:LDS Temple/TEMPLENAME)

For example, to change the Salt Lake Temple from "closed" to "operating" you would need to go to Template:LDS Temple/Salt Lake Temple and change the "status" field:
 from
  | status = closed
 to
  | status = operating

However, the default is "operating".

Adding Temples

All Temples are listed alphabetically.

Wasatch Front, Utah area temples

Due to the number of temples is the Wasatch Front, Utah area, i.e. the Salt Lake City area, they are grouped into one large linked green square. However, a place holder has been should be included by placing, in the correct alphabetical spot:

<!-- TEMPLE NAME: See below (Wasatch Front Area) -->

Then the temple should be added to the Wasatch Front Area section at the bottom.

Other Temples

Locate the correct alphabetical spot and add: {{Image label|x= XLOCATION |y= YLOCATION |scale={{{width|DEFAULTSIZE}}}|text={{LDS Temple/TEMPLENAME|format=List LDS Temple World Map/status}}}}

Dot Locations (ie X/Y)

X and Y values are always between 0 and 1. They represent the percentages of the width and height respectively where the label will be placed. The exact point is the top-left corner of the image label.

x=0  |y=0   will place the top-left corner of the label at the top-left     of the image
x=0  |y=1   will place the top-left corner of the label at the bottom-left  of the image
x=1  |y=1   will place the top-left corner of the label at the bottom-right of the image
x=1  |y=0   will place the top-left corner of the label at the top-right    of the image
x=0.5|y=0.5 will place the top-left corner of the label at the centre       of the image

Width/Scale

All widths must be set to the same number. They must all be the same number for the template to be functionally scalable. This means they can be displayed at a different size by supplying a width parameter to the template when in use. For example, {{List LDS Temple World Map|width=500}} will display the labelled image as a smaller one of 500 pixels in width instead of 1000.

To change the default size, search and replace all occurrences of {{{width|current size}}} with <nowiki>{{{width|new size}}}