Form

New User Page: Difference between revisions

mNo edit summary
m (added placeholders)
Line 4: Line 4:
if a page with that name already exists, you will be sent to a form to edit that page.
if a page with that name already exists, you will be sent to a form to edit that page.


{{#forminput:form=New User Page|query string=namespace=User|placeholder={{#username:your username}}|default value={{#username:your username}} }}
{{#forminput:form=New User Page|query string=namespace=User|placeholder={{#username:your username}}|default value=Max Mustermann }}


{{#get_web_data:url=http://query.graphit.ur.de/proxy/wdqs/bigdata/namespace/wdq/sparql?query=%23defaultView%3ATable%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fgraphit.ur.de%2Fentity%2F%3E%0APREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fgraphit.ur.de%2Fprop%2Fdirect%2F%3E%0ASELECT%20%3Fstudent%20%3FstudentLabel%20%3Fqid%0AWHERE%20%7B%0A%20%20%3Fstudent%20wdt%3AP3%20wd%3AQ167.%0A%20%20MINUS%20%7B%3Fstudent%20a%20wikibase%3AProperty%7D.%0A%20%20BIND(STRAFTER(STR(%3Fstudent)%2C%20STR(wd%3A))%20AS%20%3Fqid)%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%20ORDER%20BY%20DESC(%3Fqid)%20LIMIT%2010%0A&format=json
{{#get_web_data:url=http://query.graphit.ur.de/proxy/wdqs/bigdata/namespace/wdq/sparql?query=%23defaultView%3ATable%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fgraphit.ur.de%2Fentity%2F%3E%0APREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fgraphit.ur.de%2Fprop%2Fdirect%2F%3E%0ASELECT%20%3Fstudent%20%3FstudentLabel%20%3Fqid%0AWHERE%20%7B%0A%20%20%3Fstudent%20wdt%3AP3%20wd%3AQ167.%0A%20%20MINUS%20%7B%3Fstudent%20a%20wikibase%3AProperty%7D.%0A%20%20BIND(STRAFTER(STR(%3Fstudent)%2C%20STR(wd%3A))%20AS%20%3Fqid)%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%20ORDER%20BY%20DESC(%3Fqid)%20LIMIT%2010%0A&format=json
Line 19: Line 19:
{| class="formtable"
{| class="formtable"
! My GraphIT Item:  
! My GraphIT Item:  
| {{{field|Item|input type=combobox|values from external data=qid|description=description_student}}}
| {{{field|Item|input type=combobox|placeholder=Q157|values from external data=qid|description=description_student}}}
|}
|}
{{{end template}}}
{{{end template}}}

Revision as of 08:07, 20 December 2023

This is the "New User Page" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.