Difference between revisions of "Form:Category properties"
From OpenMedia
m (less bold) |
m |
||
(27 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This is the "Category properties" form for [[template: {{PAGENAME}}]]. | + | This is the "Category properties" form for [[template: {{PAGENAME}}]] and [[template: Query taxonomic databases]]. |
To create a page with this form, enter the page name below; | 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. | if a page with that name already exists, you will be sent to a form to edit that page. | ||
Line 10: | Line 10: | ||
|query string=namespace=Category | |query string=namespace=Category | ||
|size=50 | |size=50 | ||
+ | |no autofocus | ||
}} | }} | ||
[[Category: Forms]] | [[Category: Forms]] | ||
Line 16: | Line 17: | ||
{| class="formtable" style="margin-bottom:3ex;" | {| class="formtable" style="margin-bottom:3ex;" | ||
|- | |- | ||
− | | Parent category: | + | | Parent category: |
− | | {{{field|parent category|input type=text with autocomplete|size= | + | | {{{field|parent category|input type=text with autocomplete|size=70|values from namespace=Category}}} |
+ | | rowspan="2" style="border:1px solid black;min-width:300px" | Box Infos, show: {{{field|show info|input type=dropdown|values=taxon info, icon info|show on select=icon info=>icon_info_specifications;taxon info=>taxon_info_displaytitle}}} {{#info: message=Instead of the default category box, a taxon box or icon box can be displayed at the right margin. Logo types see {{Tlx|Logo}} }} <!-- | ||
+ | --><div id="icon_info_specifications">Specify icons/logos:<br/>{{{field|show logos|input type=textarea|rows=2|cols=40|placeholder=Logo-Type or Logo-Type1, Logo-Type2, Logo-Type3}}}<!-- | ||
+ | --><br/>Title (for icon):<br/>{{{field|title icon info|size=40}}}</div><!-- | ||
+ | --><div id="taxon_info_displaytitle">Optionally format page title {{#info: message=You can format the Wiki page title with simple Wiki markup, like ''<nowiki>''{{PAGENAME}}''</nowiki>''}}<br/>{{{field|display title|input type=text|size=40}}}</div> | ||
|- | |- | ||
| Description: | | Description: | ||
− | | {{{field|description|input type=textarea}}} | + | | {{{field|description|input type=textarea|cols=70|rows=5}}} |
+ | |- | ||
+ | | Taxon links: | ||
+ | | colspan="2" | {{{field|template query taxonomic databases|holds template}}} | ||
|- | |- | ||
| Use another category: | | Use another category: | ||
− | | {{{field|move to category|input type=textarea|rows=2|placeholder=“new category” or “new category: explain why to move this to another category”}}} | + | | colspan="2" | {{{field|move to category|input type=textarea|cols=70|rows=2|placeholder=“new category” or “new category: explain why to move this to another category”}}} |
|- | |- | ||
− | | style="border-top:1px dotted gray" | | + | | style="border-top:1px dotted gray" rowspan="2" | Extra display tools/<br/>and settings |
− | | style="border-top:1px dotted gray" | | + | | style="border-top:1px dotted gray" colspan="2"| <div class="floating-form-parts">{{{field|show search box|input type=checkbox}}} {{Logo | search}} show search box.</div> |
− | + | <div class="floating-form-parts">{{{field|show images in subcategories|input type=checkbox}}} {{Logo | image}} {{Logo | image}} show images of sub-categories.</div> | |
− | + | <div class="floating-form-parts">{{{field|show index links|input type=checkbox}}} <div class="border-round" style="display:inline-block;margin:0 auto; border:solid 1px lightgray; text-align:center; max-width:200px;color:gray;padding:0.25ex 0.8em">'''Index''' A B C etc.</div> show index links.</div> | |
− | + | <div style="clear:both;"></div> | |
|- | |- | ||
− | | | + | | colspan="2" | <div class="floating-form-parts">{{{field|sort by epithet|input type=checkbox}}} {{Logo | sort}} sort by epithet {{#info: message=A category named “''A''lnus glutinosa” becomes sorted in reversed order, i.e. sorted as “''g''lutinosa Alnus” and hence gets sorted into the ''G'' section instead into the ''A'' section of the category display list.}}.</div> |
− | + | <div class="floating-form-parts">{{{field|is hidden category|input type=checkbox}}} [[File:No-image.png|x22px|link=|Set as hidden category]] hide this category {{#info: message=Hide this category for ordinary users. You can set hidden categories to be shown by changing you preferences in tab “{{int:prefs-rendering}}”.}}.</div> | |
− | + | <div style="clear:both;"></div> | |
− | + | ||
− | + | ||
|- | |- | ||
− | | style="border-top:1px dotted gray" | + | | style="border-top:1px dotted gray" colspan="3" |{{Hidden |
− | + | | contentclass = indicateHiddenInputs | |
− | + | | header = ''Form settings …'' | |
− | + | | toggle text = + / − | toggle position = left | |
− | + | | contentstyle = border-left: 1px solid #cccccc; padding-left:10px; | |
− | + | | content =<div class="floating-form-parts">Has default form {{#info: message=Define a form to be used in this category.}}<br/>{{{field|has default form|input type=text with autocomplete|size=80|values from namespace=Form}}}</div> | |
− | + | <div class="floating-form-parts">Show form {{#info: message=A form to be displayed here on “{{FULLPAGENAME}}”.}}<br/>{{{field|show form|input type=text with autocomplete|size=80|values from namespace=Form}}}<br/><!-- | |
− | + | -->Autocompletion: {{{field|show form autocompletion|input type=checkbox}}}</div> | |
− | + | <div class="floating-form-parts">Specify (data) filters {{#info: message=Specify filters to be used on [[Special:BrowseData|special page “browse data”]].}}<br/>{{{field|has filters|input type=text with autocomplete|size=80F|values from namespace=Filter}}}</div> | |
− | + | <div style="clear:both;"></div> | |
− | + | }} | |
− | + | ||
− | + | ||
− | + | ||
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
− | + | {{{for template|Query taxonomic databases|embed in field=Category properties[template query taxonomic databases]|multiple|add button text=add external taxonomic service links|maximum instances=1}}}<table class="vertical-align-top"> | |
+ | <tr> | ||
+ | <td colspan="2">{{{field|taxon|size=80|input type=text|placeholder=taxon name (for all DB services)}}} (Taxon for all DB services)</td> | ||
+ | </tr><tr> | ||
+ | <td><span title="Search species “{{PAGENAME}}” at www.gbif.org">[http://www.gbif.org/species/search?q={{#replace:{{PAGENAME}}| |+}} GBIF]</span>:</td> | ||
+ | <td><div class="floating-form-parts">ID {{#info: message= ID of GBIF, e.g. <nowiki>http://www.gbif.org/species/</nowiki>'''7262979'''}} {{{field|gbif species id|size=20|input type=text|placeholder=e.g.: 7262979}}}</div> | ||
+ | <div class="floating-form-parts">Taxon (different from above): {{{field|gbif taxon|size=70|input type=text|placeholder=(different) taxon name}}}</div> | ||
+ | <div style="clear:both;"></div> | ||
+ | </td> | ||
+ | </tr><tr> | ||
+ | <td><span title="Search “{{PAGENAME}}” at worldfloraonline.org">[http://www.worldfloraonline.org/search?query={{#replace:{{PAGENAME}}| |+}} World Flora Online]</span>:</td> | ||
+ | <td><div class="floating-form-parts">ID {{#info: message=ID of worldfloraonline, e.g. <nowiki>http://www.worldfloraonline.org/taxon/</nowiki>'''wfo-0000091403'''}} {{{field|world flora online id|size=20|input type=text|placeholder=e.g.: wfo-0000091403}}}</div> | ||
+ | <div class="floating-form-parts">Taxon (different from above): {{{field|world flora online taxon|size=70|input type=text|placeholder=(different) taxon name}}}</div> | ||
+ | <div style="clear:both;"></div> | ||
+ | </td> | ||
+ | </tr><tr> | ||
+ | <td><span title="Search “{{PAGENAME}}” at theplantlist.org">[http://www.theplantlist.org/tpl1.1/search?q={{#replace:{{PAGENAME}}| |+}} The Plant List]</span>:</td> | ||
+ | <td><div class="floating-form-parts">ID {{#info: message=ID of the plant list, e.g. <nowiki>http://www.theplantlist.org/tpl1.1/record/</nowiki>'''kew-2615738'''}} {{{field|the plant list id|size=20|input type=text|placeholder=e.g.: kew-2615738}}}</div> | ||
+ | <div class="floating-form-parts">Taxon (different from above): {{{field|the plant list taxon|size=70|input type=text|placeholder=(different) taxon name}}}</div> | ||
+ | <div style="clear:both;"></div> | ||
+ | </td> | ||
+ | </tr><tr> | ||
+ | <td><span title="Go to advanced search on faunaeur.org">[http://www.faunaeur.org/advanced_search.php Fauna Europaea]</span>:</td> | ||
+ | <td><div class="floating-form-parts">ID {{#info: message= ID of Fauna Europaea, e.g. <nowiki>http://www.faunaeur.org/full_results.php?id=</nowiki>'''96753'''}} {{{field|fauna europaea id|size=20|input type=text|placeholder=e.g.: 96753}}}</div> | ||
+ | <div class="floating-form-parts">Taxon (different from above): {{{field|fauna europaea taxon|size=70|input type=text|placeholder=(different) taxon name}}}</div> | ||
+ | <div style="clear:both;"></div> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | {{{end template}}} | ||
'''Free text below the template:''' | '''Free text below the template:''' | ||
− | |||
{{{standard input|free text|editor}}} | {{{standard input|free text|editor}}} | ||
Latest revision as of 19:26, 7 March 2021
This is the "Category properties" form for template: Category properties and template: Query taxonomic databases. 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.