Template:ArchivedVersionTemplate: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
No edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#ifexist:File:{{{archivedPdf|}}}|<!-- uploaded file exists --> | |||
An archive of {{{archivedModel|}}} version {{{archivedVersion|}}} has been uploaded on {{#show:File:{{{archivedPdf|}}}|?Modification date}} (system date of uploaded model archive) | An archive of {{{archivedModel|}}} version {{{archivedVersion|}}} has been uploaded on {{#show:File:{{{archivedPdf|}}}|?Modification date}} (system date of uploaded model archive) | ||
Open pdf: [[Media:{{{archivedPdf}}} | {{{archivedPdf}}} ]] | Open pdf: [[Media:{{{archivedPdf|}}} | {{{archivedPdf|}}} ]] | ||
'''Comment on this archive:''' {{{comment|}}} | |||
{{#set:IsArchivedVersionOfModel={{{archivedModel|}}} | {{#set:IsArchivedVersionOfModel={{{archivedModel|}}} | ||
|IsArchivedVersion={{{archivedVersion|}}} | |IsArchivedVersion={{{archivedVersion|}}} | ||
Line 25: | Line 23: | ||
|HasArchiveComment={{{comment|}}} | |HasArchiveComment={{{comment|}}} | ||
|HasArchiveDate={{#show:File:{{{archivedPdf|}}}|?Modification date}} | |HasArchiveDate={{#show:File:{{{archivedPdf|}}}|?Modification date}} | ||
}} | |||
| <!-- no uploaded file --> | |||
No uploaded pdf for model {{{archivedModel|}}} version {{{archivedVersion|}}}! | |||
'''Comment on this archive:''' {{{comment|}}} | |||
{{#set:IsArchivedVersionOfModel={{{archivedModel|}}} | |||
|IsArchivedVersion={{{archivedVersion|}}} | |||
|HasArchiveComment={{{comment|}}} | |||
}} | }} | ||
</includeonly> | |||
}}<!-- end of #ifexist --> | |||
[[Category:Archived version]]</includeonly> |
Latest revision as of 16:45, 8 August 2020
This is the "ArchivedVersionTemplate" template. It should be called in the following format:
{{ArchivedVersionTemplate |archivedModel |archivedVersion |archivedPdf }}
Edit the page to see the template text.