Template:FHCpage/doc: Difference between revisions

From FamilySearch Wiki
(doc new parameter)
(→‎Instructions: add not about {{FHC-stub}})
Line 2: Line 2:
== Instructions ==
== Instructions ==
When family history center pages are added to the Wiki, this flag should be included on the page.  
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}}
*Add the FHCpage template to a page by typing <tt>'''{{tl|FHCpage}}'''</tt>
*When pages have little or no substantial content, specific to the FHC, also add the template <tt>'''{{tl|FHC-stub}}'''</tt>
*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]]
*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>}}.
* 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>}}.

Revision as of 10:45, 9 October 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}}
  • When pages have little or no substantial content, specific to the FHC, also add the template {{FHC-stub}}
  • 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}}}...}}.