Difference between revisions of "Template:Generate concept formlinks from SMW import page"

From TDWG Terms Wiki
Jump to: navigation, search
m (no red links)
Line 50: Line 50:
 
   else-->|{{#var: thisVocabNoPrefix}} {{#formlink:  
 
   else-->|{{#var: thisVocabNoPrefix}} {{#formlink:  
 
     form=Property setting<!--   
 
     form=Property setting<!--   
     -->|link text=[[File:Pencil add.png|x16px|link=]]<!--   
+
     -->|link text=[[File:Add.png|x16px|link=]]<!--   
 
     -->|query string=<!--  
 
     -->|query string=<!--  
 
       -->Property setting[imported from]={{#var: thisPrefixedVocab}}<!--  
 
       -->Property setting[imported from]={{#var: thisPrefixedVocab}}<!--  
Line 81: Line 81:
 
   else-->|{{#var: thisVocabNoPrefix}}&#32;{{#formlink:  
 
   else-->|{{#var: thisVocabNoPrefix}}&#32;{{#formlink:  
 
     form=Concept collection<!--   
 
     form=Concept collection<!--   
     -->|link text=[[File:Pencil add.png|x16px|link=]]<!--   
+
     -->|link text=[[File:Add.png|x16px|link=]]<!--   
 
     -->|query string=<!--  
 
     -->|query string=<!--  
 
         -->Concept collection[imported from]={{#var: thisPrefixedVocab}}<!--   
 
         -->Concept collection[imported from]={{#var: thisPrefixedVocab}}<!--   

Revision as of 13:17, 26 September 2012

[edit] [purge] Template-info.svg Template documentation

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: