Difference between revisions of "Template:Infobox"
m |
(Formatted page.) |
||
Line 1: | Line 1: | ||
− | + | =Function= | |
+ | |||
A succinct infobox for individual pages. | A succinct infobox for individual pages. | ||
− | Parameters. Copy-paste to the top of your page and fill in: | + | =Syntax= |
− | + | ||
+ | Parameters. Copy-paste to the top of your page (or immediately below the first heading) and fill in the balnks: | ||
<nowiki> | <nowiki> | ||
{{Infobox | {{Infobox | ||
− | | project = (Should match an existing category.) | + | | project = (Plain text. Should match an existing category) |
− | | deliverable-nr = (Any | + | | image = (Wikilink. Defaults to ENVRI Community logo) |
+ | | deliverable-nr = (Any format, eg. D1.2.) | ||
| submission-date = (ISO 8601 format, ie. YYYY-MM-DD) | | submission-date = (ISO 8601 format, ie. YYYY-MM-DD) | ||
− | | type = (Should match an existing category.) | + | | type = (Plain text. Should match an existing category.) |
− | | pdf = (Wikilink to PDF file.) | + | | pdf = (Wikilink to copy of PDF file on the wiki.) |
| zenodo = (Plain URL to Zenodo page.) | | zenodo = (Plain URL to Zenodo page.) | ||
− | | url = (Plain URL to document copy | + | | url = (Plain URL to document copy elsewhere, eg. on the project website.) |
}} | }} | ||
</nowiki> | </nowiki> | ||
− | |||
− | |||
+ | =Wikitext= | ||
+ | ''Transcluded content starts here.'' | ||
+ | <onlyinclude> | ||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title">{{#if:{{{deliverable-nr|}}} | {{{deliverable-nr}}} {{PAGENAME}} | {{PAGENAME}} }}</div> | <div class="infobox-title">{{#if:{{{deliverable-nr|}}} | {{{deliverable-nr}}} {{PAGENAME}} | {{PAGENAME}} }}</div> | ||
Line 50: | Line 54: | ||
<p align="center">[[#metadata|Document metadata]]</p> | <p align="center">[[#metadata|Document metadata]]</p> | ||
</div> | </div> | ||
+ | </onlyinclude> |
Revision as of 08:22, 31 August 2020
Function
A succinct infobox for individual pages.
Syntax
Parameters. Copy-paste to the top of your page (or immediately below the first heading) and fill in the balnks:
{{Infobox | project = (Plain text. Should match an existing category) | image = (Wikilink. Defaults to ENVRI Community logo) | deliverable-nr = (Any format, eg. D1.2.) | submission-date = (ISO 8601 format, ie. YYYY-MM-DD) | type = (Plain text. Should match an existing category.) | pdf = (Wikilink to copy of PDF file on the wiki.) | zenodo = (Plain URL to Zenodo page.) | url = (Plain URL to document copy elsewhere, eg. on the project website.) }}
Wikitext
Transcluded content starts here.