Template:.form/gmr

Revision as of 11:58, 21 March 2013 by Unknown user (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the ".form/gmr" template. It should be called in the following format:

{{.form/gmr 
|hostForm=full pagename of host form
|embed in field=name of field to embed all templates
|gmrClass=name of class (default=Concept)
|open=semicolon list of default property selections 
}}
for instance
{{.form/gmr ||hostForm=Form:Research|hostTemplate=Infobox research   
|open=.ggr:title; .ggr:coverage 
}}
  • Labels are defined by page Project:.form/gmr/menus.
  • Instructions for the dropdown menu itself is the content of a page named, e.g., Project:.form/page-namespace/gmr/text. If the form has no custom instructions, then the content of Project:.form/gmr/text is used.
  • Templates are named with reference to the namespace of a page being created, e.g., Template:.form/page-namespace/gmr:inScheme. Default templates are used if a namespace has no custom template, e.g., Template:.form/gmr:inScheme.
  • Instructions for a field is the content of a page named, e.g., Project:.form/page-namespace/gmr:inScheme. If instructions are not provided by a form, then default instructions are used, e.g., Project:.form/gmr:inScheme/text.
Default label Default template Default instructions

{{#arraymap:to,from,with|,|Z|

Z .gmr:narrower::Template:.form/gmr:Z Best Practices:.form/gmr:Z/text edit \n}}

Edit the page to see the template text.