Difference between revisions of "Form:Category properties"
From OpenMedia
m (LayoutExtra display tools/ and settings) |
m (Layout) |
||
Line 18: | Line 18: | ||
| style="width:160px;" | Parent category: | | style="width:160px;" | Parent category: | ||
| {{{field|parent category|input type=text with autocomplete|size=98|values from namespace=Category}}} | | {{{field|parent category|input type=text with autocomplete|size=98|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=50|placeholder=Logo-Type or Logo-Type1, Logo-Type2, Logo-Type3}}}<!-- | ||
+ | --><br/>Title (for icon):<br/>{{{field|title icon info|size=50}}}</div><!-- | ||
+ | --><div id="taxon_info_displaytitle">Optionally set the a formatted display title, e.g. ''<nowiki>''{{PAGENAME}}''</nowiki>'':<br/>{{{field|display title|input type=text|size=50}}}</div> | ||
|- | |- | ||
| Description: | | Description: | ||
− | | {{{field|description|input type=textarea}}} | + | | {{{field|description|input type=textarea|cols=90|rows=5}}} |
|- | |- | ||
| Taxon links: | | Taxon links: | ||
− | | {{{field|template query taxonomic databases|holds template}}} | + | | 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=90|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" | 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> | |
|- | |- | ||
− | | style="border-top:1px dotted gray" colspan=" | + | | |
+ | | 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" colspan="3" |{{Hidden | ||
| contentclass = indicateHiddenInputs | | contentclass = indicateHiddenInputs | ||
| header = ''Form settings …'' | | header = ''Form settings …'' | ||
Line 45: | Line 54: | ||
<div style="clear:both;"></div> | <div style="clear:both;"></div> | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
Line 60: | Line 59: | ||
<table class="vertical-align-top"> | <table class="vertical-align-top"> | ||
<tr> | <tr> | ||
− | <td colspan="2">{{{field|taxon|size= | + | <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> | </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><span title="Search “{{PAGENAME}}” at theplantlist.org">[http://www.theplantlist.org/tpl1.1/search?q={{#replace:{{PAGENAME}}| |+}} The Plant List]</span>:</td> |
Revision as of 12:39, 10 September 2015
This is the "Category properties" form for template: Category properties. 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.