Form:Image: Difference between revisions

From Fina Wiki
No edit summary
m (Text replacement - "table-condensed" to "table-sm")
 
(10 intermediate revisions by the same user not shown)
Line 3: Line 3:
</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="card-header bg-light"><h5>Attention!</div></div>
<div class="panel-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
{{#info:Please cancel and add a file extension.|warning}}The image name should include a file extension (e.g. jpg, jpeg, png)!
{{#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|Image|label=}}}
{{{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 image</h3></div>
<div class="panel panel-default {{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1|mw-collapsible mw-collapsed| }}"><div class="card-header bg-light"><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-sm"
|-
|-
|Image&nbsp;{{#info:Name of the file or uploade of a new file.}}  
|[[Image::@@@]]&nbsp;{{#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|Image|input type=text|uploadable|default filename=<page name>|class=form-control}}} }} }}
|{{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&nbsp;{{#info:Source if the file, e. g. collection}}
|[[Image source::@@@]]&nbsp;{{#info:Source if the image, 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|Image source|input type=tokens|delimiter=;|class=form-control}}} }} <br/>
|-
|-
|Resource&nbsp;{{#info:Numismatic resource, e. g. correspondence}}
|[[Image date::@@@]] from
|{{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field|Resource|input type=tokens|delimiter=;|values from concept=Resources|class=form-control}}} }}
|{{{field|Image date type|input type=dropdown|default=exact|values=exact,circa,before,after|class=form-control}}} {{{field|Image date|input type=date|class=form-control}}}  
|-
|-
|[[Publication date::@@@]] from
| [[Resources::@@@]]&nbsp;{{#info:Reference to resource, e. g. person, correspondence}}
|{{{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}}}
|{{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field|Resources|input type=tokens|delimiter=;|values from namespace=Main|class=form-control}}} }}
|-
| Depicted Persons&nbsp;{{#info:Persons who can be seen in the image.}}  
| {{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field|Persons|input type=tokens|delimiter=;|values from category=Persons|class=form-control}}} }}
|}</div></div>
|}</div></div>
{{{end template}}}
{{{end template}}}
<div class="panel panel-default mw-collapsible {{#ifexist:Datei:{{PAGENAME}}| |mw-collapsed}}"><div class="panel-heading"><h3 class="panel-title ">File description&nbsp;{{#info:The free file description indicated when uploading.}}</h3></div>
<div class="panel panel-default mw-collapsible {{#ifexist:Datei:{{PAGENAME}}| |mw-collapsed}}"><div class="card-header bg-light"><h3 class="panel-title ">File description&nbsp;{{#info:The free file description indicated when uploading.}}</h3></div>
<div class="panel-body mw-collapsible-content">
<div class="card-body mw-collapsible-content">
{| class="table table-hover table-condensed"
{| class="table table-hover table-sm"
|-
|-
|Description&nbsp;{{#info:Description of the file}}
|[[Description::@@@]]&nbsp;{{#info:Description of the file}}
|{{#ifexist:File:{{PAGENAME}}|{{{section|Description|level=2}}}|is indicated when uploading...}}{{{section|License|level=2|hide if empty|hidden|rows=1}}}
|{{#ifexist:File:{{PAGENAME}}|{{{section|Description|level=2}}}|is indicated when uploading...}}{{{section|License|level=2|hide if empty|hidden|rows=1}}}
|}
|}

Latest revision as of 13:12, 30 August 2022