Difference between revisions of "Template:Upload file"
From AquaPedia Case Study Database
(file upload template) |
|||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | :This is the "Upload file" template. It uses code included in Common.js to open special pages related to uploading and viewing files in a new browser tab. It is used in forms for entering cases and articles. | ||
+ | :It is called in form definitions by: <nowiki> {{Upload file}} </nowiki> | ||
+ | :It looks like this: | ||
+ | </noinclude> | ||
+ | |||
<div class="files"> | <div class="files"> | ||
<h4>File Upload</h4> | <h4>File Upload</h4> | ||
<span class="pops">[[Special:Upload | Upload a File]] </span> | <span class="pops">[[Special:Upload | Upload a File]] </span> | ||
− | <span class="pops">[[Special:ListFiles | See all Files]] </span> | + | <span class="pops">[[Special:ListFiles | See all Files]] </span><br> |
− | These links open in a new tab | + | These links open in a new browser tab or window. <BR> |
+ | You can add or select a file and return to this tab or window. | ||
<div><em>To insert a file, use the following structure:</em> <nowiki>[[File:Name.jpg]]</nowiki></div> | <div><em>To insert a file, use the following structure:</em> <nowiki>[[File:Name.jpg]]</nowiki></div> | ||
</div> | </div> |
Revision as of 09:25, 25 June 2013
- This is the "Upload file" template. It uses code included in Common.js to open special pages related to uploading and viewing files in a new browser tab. It is used in forms for entering cases and articles.
- It is called in form definitions by: {{Upload file}}
- It looks like this:
File Upload
Upload a File
See all Files
These links open in a new browser tab or window.
You can add or select a file and return to this tab or window.
To insert a file, use the following structure: [[File:Name.jpg]]