Difference between revisions of "Template:Generate concept formlinks from SMW import page"
From TDWG Terms Wiki
m (info message) |
m (+query string) |
||
Line 46: | Line 46: | ||
-->&Property setting[has type]={{#replace:{{#explode: §|!|1}}|Type:|}}<!-- | -->&Property setting[has type]={{#replace:{{#explode: §|!|1}}|Type:|}}<!-- | ||
-->{{#if: {{{title|}}} |&Property setting[title]={{{title|}}}}}<!-- | -->{{#if: {{{title|}}} |&Property setting[title]={{{title|}}}}}<!-- | ||
+ | -->{{#if: {{{query string|}}} |&{{#replace: {{{query string|}}}|form_name|Property setting}}}}<!-- | ||
-->|target={{#var: thisFullPageName}}<!-- | -->|target={{#var: thisFullPageName}}<!-- | ||
-->|tooltip=Edit this property page<!-- | -->|tooltip=Edit this property page<!-- | ||
Line 57: | Line 58: | ||
-->&Property setting[has type]={{#replace:{{#explode: §|!|1}}|Type:|}}<!-- | -->&Property setting[has type]={{#replace:{{#explode: §|!|1}}|Type:|}}<!-- | ||
-->{{#if: {{{title|}}} |&Property setting[title]={{{title|}}}}}<!-- | -->{{#if: {{{title|}}} |&Property setting[title]={{{title|}}}}}<!-- | ||
+ | -->{{#if: {{{query string|}}} |&{{#replace: {{{query string|}}}|form_name|Property setting}}}}<!-- | ||
-->|target={{#var: thisFullPageName}}<!-- | -->|target={{#var: thisFullPageName}}<!-- | ||
-->|tooltip=Create this property page<!-- | -->|tooltip=Create this property page<!-- | ||
Line 78: | Line 80: | ||
-->Concept collection[imported from]={{#var: thisPrefixedVocab}}<!-- | -->Concept collection[imported from]={{#var: thisPrefixedVocab}}<!-- | ||
-->{{#if: {{{title|}}} |&Concept collection[title]={{{title|}}}}}<!-- | -->{{#if: {{{title|}}} |&Concept collection[title]={{{title|}}}}}<!-- | ||
+ | -->{{#if: {{{query string|}}} |&{{#replace: {{{query string|}}}|form_name|Concept collection}}}}<!-- | ||
-->|target={{#var: thisFullPageName}}<!-- | -->|target={{#var: thisFullPageName}}<!-- | ||
-->|tooltip=Edit this {{lc:{{ns:category}}}} page<!-- | -->|tooltip=Edit this {{lc:{{ns:category}}}} page<!-- | ||
Line 87: | Line 90: | ||
-->Concept collection[imported from]={{#var: thisPrefixedVocab}}<!-- | -->Concept collection[imported from]={{#var: thisPrefixedVocab}}<!-- | ||
-->{{#if: {{{title|}}} |&Concept collection[title]={{{title|}}}}}<!-- | -->{{#if: {{{title|}}} |&Concept collection[title]={{{title|}}}}}<!-- | ||
+ | -->{{#if: {{{query string|}}} |&{{#replace: {{{query string|}}}|form_name|Concept collection}}}}<!-- | ||
-->|target={{#var: thisFullPageName}}<!-- | -->|target={{#var: thisFullPageName}}<!-- | ||
-->|tooltip=Create this {{lc:{{ns:category}}}} page<!-- | -->|tooltip=Create this {{lc:{{ns:category}}}} page<!-- |
Revision as of 09:39, 28 September 2012
[edit] [ ] Template documentation
This documentation is transcluded from Template:Generate concept formlinks from SMW import page/doc. (edit | history)
Template “Generate concept formlinks from SMW import page” generates a list of formlinks based on a “MediaWiki:Smw_import-ns-prefix”-page
Usage
This template has the following parameter:
{{Generate concept formlinks from SMW import page
|ns prefix= e.g. "dwc" or "rdf" etc.
|title= optional title of the target page
|query string= form_name[field]=value&form_name[field2]=value3 “form_name” must be given, it will be replaced by an appropriate form
}}
Technical documentation
Dependencies: