Image
From Fina Wiki
No edit summary |
m (Text replacement - "table-condensed" to "table-sm") |
||
| (9 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=" | <div class="panel panel-danger"><div class="card-header bg-light"><h5>Attention!</div></div> | ||
<div class=" | <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=" | <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- | {| class="table table-hover table-sm" | ||
|- | |- | ||
|Image {{#info:Name of the file or uploade of a new file.}} | |[[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|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}}} }} }} | ||
|- | |- | ||
| | |[[Image source::@@@]] {{#info:Source if the image, e. g. collection}} | ||
|{{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field| | |{{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field|Image source|input type=tokens|delimiter=;|class=form-control}}} }} <br/> | ||
|- | |- | ||
|[[ | |[[Image date::@@@]] from | ||
|{{{field| | |{{{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}}} | ||
|- | |- | ||
| | | [[Resources::@@@]] {{#info:Reference to resource, e. g. person, correspondence}} | ||
|{{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field|Resources|input type=tokens|delimiter=;|values from namespace=Main|class=form-control}}} }} | |||
|{{#ifeq:{{#rpos:{{PAGENAME}}|.}}|-1| |{{{field| | |||
|}</div></div> | |}</div></div> | ||
{{{end template}}} | {{{end template}}} | ||
<div class="panel panel-default mw-collapsible {{#ifexist:Datei:{{PAGENAME}}| |mw-collapsed}}"><div class=" | <div class="panel panel-default mw-collapsible {{#ifexist:Datei:{{PAGENAME}}| |mw-collapsed}}"><div class="card-header bg-light"><h3 class="panel-title ">File description {{#info:The free file description indicated when uploading.}}</h3></div> | ||
<div class=" | <div class="card-body mw-collapsible-content"> | ||
{| class="table table-hover table- | {| class="table table-hover table-sm" | ||
|- | |- | ||
|Description {{#info:Description of the file}} | |[[Description::@@@]] {{#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