Template:FHCpage/doc: Difference between revisions

From FamilySearch Wiki
m (category)
(doc new parameter)
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Template documentation]]
{{documentation subpage}}
== Instructions ==
When family history center pages are added to the Wiki, this flag should be included on the page.
*Add the FHCpage template to a page by typing {{tl|FHCpage}}
*Pages are automatically added to [[:Category:Family History Centers]], this can be amended by using the ''location'' parameter, for example {{tlx|FHCpage|<nowiki>location=Washington</nowiki>}} will add the page to [[:Category:Washington Family History Centers]]
* If you are using the template only for documentation purposes, you can suppress the category by adding a blank ''category'' parameter, e.g., {{tlx|FHCpage|<nowiki>category=</nowiki>}}.
<includeonly>
[[Category:Maintenance templates|{{PAGENAME}}]]
<includeonly>

Revision as of 16:12, 8 April 2011

Instructions[edit source]

When family history center pages are added to the Wiki, this flag should be included on the page.

  • Add the FHCpage template to a page by typing {{FHCpage}}
  • Pages are automatically added to Category:Family History Centers, this can be amended by using the location parameter, for example {{FHCpage{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} will add the page to Category:Washington Family History Centers
  • If you are using the template only for documentation purposes, you can suppress the category by adding a blank category parameter, e.g., {{FHCpage{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}}.