Form:A: Difference between revisions
Jump to navigation
Jump to search
Yaron Koren (talk | contribs) No edit summary |
Yaron Koren (talk | contribs) (Added combobox sizes) |
||
(34 intermediate revisions by the same user not shown) | |||
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=A|namespace selector=,User,Category,Talk}} | |||
{{#forminput:form=A|namespace selector=,User,Category,Talk | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | ||
{{#get_web_data: | |||
url=http://nomisma.org/query?query=PREFIX%20rdf%3A%09%09%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0D%0APREFIX%20dcterms%3A%09%09%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0APREFIX%20foaf%3A%09%09%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0D%0APREFIX%20nm%3A%09%09%3Chttp%3A%2F%2Fnomisma.org%2Fid%2F%3E%0D%0APREFIX%20nmo%3A%09%09%3Chttp%3A%2F%2Fnomisma.org%2Fontology%23%3E%0D%0APREFIX%20org%3A%09%09%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Forg%23%3E%0D%0APREFIX%20skos%3A%09%09%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E%0D%0A%0D%0ASELECT%20%3Furi%20%3Flabel%20WHERE%20%7B%0D%0A%3Furi%20a%20nmo%3AMaterial%20%3B%0D%0A%20%20skos%3AprefLabel%20%3Flabel.%0D%0AFILTER%28langMatches%28lang%28%3Flabel%29%2C%20%22EN%22%29%29%0D%0A%7D%20&output=csv | |||
|format=CSV with header | |||
|data=Metal=label,MetalURI=uri | |||
}} | |||
{{{for template|A}}} | {{{for template|A}}} | ||
{| class="formtable" | {| class="formtable" | ||
Line 15: | Line 20: | ||
|- | |- | ||
! B: | ! B: | ||
| {{{field|B}}} | | {{{field|B|input type=text}}} | ||
|- | |||
! C: | |||
| {{{field|Metal|input type=combobox|values from external data=Metal|class=form-control}}} | |||
|- | |||
! D: | |||
| {{{field|B|input type=combobox|values=ABC,DEF,This/is/a/value|size=40}}} | |||
|- | |- | ||
! F: | ! F: | ||
| {{{field|F}}} | | {{{field|F|input type=combobox|values from category=Items|mapping template=Prepend item name|reverse mapping template=Extract item name}}} | ||
|- | |||
! N: | |||
| {{{field|N|input type=combobox|values from category=Items|size=40px}}} | |||
|} | |} | ||
{{{end template}}} | |||
{{{for template|Spreadsheet1|multiple|display=spreadsheet}}} | |||
{{{field|G|label=The checkbox|input type=checkbox}}} | |||
{{{field|H|values=A,B,C}}} | |||
{{{field|User|default=current user}}} | |||
{{{end template}}} | |||
{{{for template|Spreadsheet2|multiple|label=Spreadsheet 2|display=spreadsheet}}} | |||
{{{field|I|input type=combobox|values from category=Items}}} | |||
{{{field|J|values=D,E,F|list}}} | |||
{{{field|K|default=ABC}}} | |||
{{{field|L|input type=datetime|default=now}}} | |||
{{{field|M|default=uuid}}} | |||
{{{end template}}} | {{{end template}}} | ||
Latest revision as of 13:04, May 12, 2022
This is the "A" 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.