Image
From Fina Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#forminput:form= | {{#forminput:form=Image|autocomplete on namespace=File|namespace=File|placeholder=Imagename.jpg|button text=edit or upload image}} | ||
</noinclude><includeonly>__NOTOC__ | </noinclude><includeonly>__NOTOC__ | ||
{{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| | {{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| | ||
<div class="panel panel-danger"><div class="panel-heading"><div class="panel-title ">Attention!</div></div> | <div class="panel panel-danger"><div class="panel-heading"><div class="panel-title ">Attention!</div></div> | ||
<div class="panel-body mw-collapsible-content"> | <div class="panel-body mw-collapsible-content"> | ||
{{#info:Please cancel and add a file extension.|warning}}The | {{#info:Please cancel and add a file extension.|warning}}The image name should include a file extension (e.g. jpg, jpeg, png)! | ||
</div></div> | </div></div> | ||
| }} | | }} | ||
{{{for template| | {{{for template|Image|label=}}} | ||
<div class="panel panel-default {{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1|mw-collapsible mw-collapsed| }}"><div class="panel-heading"><h3 class="panel-title ">Further information about the | <div class="panel panel-default {{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1|mw-collapsible mw-collapsed| }}"><div class="panel-heading"><h3 class="panel-title ">Further information about the image</h3></div> | ||
<div class="panel-body {{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1|mw-collapsible-content| }}"> | <div class="panel-body {{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1|mw-collapsible-content| }}"> | ||
{| class="table table-hover table-condensed" | {| class="table table-hover table-condensed" | ||
|- | |- | ||
| | |Image {{#info:Name of the file or uploade of a new file.}} | ||
|{{PAGENAME}} {{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1|{{#info:Please cancel and add a file extension.|warning}}|{{#ifexist:File:{{PAGENAME}}|[[File:{{PAGENAME}}|100px|]]|{{{field| | |{{PAGENAME}} {{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1|{{#info:Please cancel and add a file extension.|warning}}|{{#ifexist:File:{{PAGENAME}}|[[File:{{PAGENAME}}|100px|]]|{{{field|Image|input type=text|uploadable|default filename=<page name>|class=form-control}}} }} }} | ||
|- | |- | ||
|Source {{#info:Source if the file, e. g. collection}} | |Source {{#info:Source if the file, e. g. collection}} | ||
|{{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field|Filesource|input type=tokens|delimiter=;|values={{#ask:[[Filesource::{{FULLPAGENAME}}]]|mainlabel=-|?Filesource=|format=list|default=}}|class=form-control}}} }} <br/> | |{{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field|Filesource|input type=tokens|delimiter=;|values={{#ask:[[Filesource::{{FULLPAGENAME}}]]|mainlabel=-|?Filesource=|format=list|default=}}|class=form-control}}} }} <br/> | ||
|- | |- | ||
|Resource {{#info:Numismatic resource, e. g. correspondence}} | |Resource {{#info:Numismatic resource, e. g. correspondence}} | ||
|{{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field|Resource|input type=tokens|delimiter=;|values from concept=Resources|class=form-control}}} }} | |{{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field|Resource|input type=tokens|delimiter=;|values from concept=Resources|class=form-control}}} }} | ||
|- | |- | ||
|[[Publication date::@@@]] from | |[[Publication date::@@@]] from | ||
|{{{field|Publication date type|input type=dropdown|default=exact|values=exact,circa,before,after|class=form-control}}} {{{field|Publication date|input type=date|class=form-control}}} | |{{{field|Publication date type|input type=dropdown|default=exact|values=exact,circa,before,after|class=form-control}}} {{{field|Publication date|input type=date|class=form-control}}} | ||
|- | |- | ||
| Depicted Persons {{#info:Persons who can be seen in the image.}} | | Depicted Persons {{#info:Persons who can be seen in the image.}} | ||
Revision as of 11:55, 2 October 2020