Form:Image: Difference between revisions

From Fina Wiki
No edit summary
m (Text replacement - "table-condensed" to "table-sm")
 
(5 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.}}  
Line 20: Line 20:
|-
|-
|[[Image date::@@@]] from
|[[Image date::@@@]] from
|{{{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}}}  
|{{{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}}}  
|-
|-
| Depicted [[Persons::@@@]]&nbsp;{{#info:Persons who can be seen in the image.}}
| [[Resources::@@@]]&nbsp;{{#info:Reference to resource, e. g. person, correspondence}}
| {{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field|Persons|input type=tokens|delimiter=;|values from category=Persons|class=form-control}}} }}
|-
| [[Resources::@@@]]&nbsp;{{#info:Numismatic resource, e. g. correspondence}}
|{{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field|Resources|input type=tokens|delimiter=;|values from namespace=Main|class=form-control}}} }}
|{{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field|Resources|input type=tokens|delimiter=;|values from namespace=Main|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}}

Latest revision as of 13:12, 30 August 2022