Difference between revisions of "Template:Generate concept formlinks from SMW import page"
From TDWG Terms Wiki
m (fix: output test) |
m (fix skip …) |
||
Line 17: | Line 17: | ||
extract import definition, skip […] and [[…]] | extract import definition, skip […] and [[…]] | ||
− | --><span style="display:none;">{{#pos:§|[}}</span>{{# | + | --><span style="display:none;">{{#pos:§|[}}</span>{{#if: {{#pos:§|[}} <!-- empty, if [ is not found |
− | then-->|<!- | + | then-->|<!-- [ was found → nothing |
else-->|<!-- | else-->|<!-- | ||
-->{{#switch: {{#explode: {{#explode: {{#explode: §|!|1}} |:|0}} }} <!-- | -->{{#switch: {{#explode: {{#explode: {{#explode: §|!|1}} |:|0}} }} <!-- |
Revision as of 14:58, 24 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: