Template:Locality: Difference between revisions

From FamilySearch Wiki
(Fixed Category:Template from being trascluded.)
(Created page with "<noinclude> This is the "Locality" template. It is used to capture the locality information of each locality page. It should be called in the following format: <pre style="margin-left:25px; width:350px;"> {{Locality |Name |ID |Level |Country |CountryID |Locality1 |Locality2 |Locality3 |Locality4 |Locality5 |Locality1id |Locality2id |Locality3id |Locality4id |Locality5id }} </pre> Edit the page to see the template text. {{#cargo_declare:_table=Locality |Name=String |ID=I...")
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Locality" template. It is used to capture the locality information of each locality page. It should be called in the following format:
This is the "Locality" template. It is used to capture the locality information of each locality page. It should be called in the following format:
<pre style="margin-left:25px; width:150px;">
<pre style="margin-left:25px; width:350px;">
{{Locality
{{Locality
|Name=
|Name
|ID=
|ID
|Level=
|Level
|Country=
|Country
|CountryID=
|CountryID
|Locality1=
|Locality1
|Locality1id=
|Locality2
|Locality2=
|Locality3
|Locality2id=
|Locality4
|Locality3=
|Locality5
|Locality3id=
|Locality1id
|Locality4=
|Locality2id
|Locality4id=
|Locality3id
|Locality5=
|Locality4id
|Locality5id=
|Locality5id
}}
}}
</pre>
</pre>
Line 29: Line 29:
|CountryID=Integer
|CountryID=Integer
|Locality1=String
|Locality1=String
|Locality2=String
|Locality3=String
|Locality4=String
|Locality5=String
|Locality1id=Integer
|Locality1id=Integer
|Locality2=String
|Locality2id=Integer
|Locality2id=Integer
|Locality3=String
|Locality3id=Integer
|Locality3id=Integer
|Locality4=String
|Locality4id=Integer
|Locality4id=Integer
|Locality5=String
|Locality5id=Integer
|Locality5id=Integer
}}
}}
</noinclude><includeonly>{{#cargo_store:_table=Locality}}</includeonly>
</noinclude><includeonly>{{#cargo_store:_table=Locality}}</includeonly>
<noinclude>[[Category:Template]]</noinclude>

Revision as of 16:17, 16 December 2024

This is the "Locality" template. It is used to capture the locality information of each locality page. It should be called in the following format:

{{Locality
|Name
|ID
|Level
|Country
|CountryID
|Locality1
|Locality2
|Locality3
|Locality4
|Locality5
|Locality1id
|Locality2id
|Locality3id
|Locality4id
|Locality5id
}}

Edit the page to see the template text. This template defines the table "Locality". View table.