Editing Template:Infobox
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
=Function= | =Function= | ||
− | A succinct infobox | + | A succinct infobox for individual pages. |
=Syntax= | =Syntax= | ||
Line 9: | Line 9: | ||
{{Infobox | {{Infobox | ||
| project = (Plain text. Should match an existing category) | | project = (Plain text. Should match an existing category) | ||
− | | image = (Wikilink. | + | | image = (Wikilink. Defaults to ENVRI Community logo) |
| deliverable-nr = (Any format, eg. D1.2.) | | 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 = (Plain text. Should match an existing category.) | | type = (Plain text. Should match an existing category.) | ||
− | | | + | | 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 elsewhere, eg. on the project website.) | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
Line 23: | Line 24: | ||
<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> | ||
− | <div class="infobox-image">{{#if:{{{image|}}} | [[File:{{{image}}}|200px | + | <div class="infobox-image">{{#if:{{{image|}}} | [[File:{{{image}}}|200px]] | [[File:ENVRI-community-logo.jpg|200px]] }}</div> |
− | |||
<table> | <table> | ||
{{#if:{{{project|}}} | | {{#if:{{{project|}}} | | ||
Line 48: | Line 48: | ||
</table> | </table> | ||
<p align="center"><strong> | <p align="center"><strong> | ||
− | {{#if:{{{url|}}}|[{{{url}}} PDF]| PDF}} | + | {{#if:{{{url|}}}|[{{{url}}} Link]|Link }} |
+ | {{#if:{{{pdf|}}}|{{!}} [File:{{{pdf}}} PDF] {{!}}|{{!}} PDF {{!}}}} | ||
{{#if:{{{zenodo|}}}| [{{{zenodo}}} Zenodo]| Zenodo}} | {{#if:{{{zenodo|}}}| [{{{zenodo}}} Zenodo]| Zenodo}} | ||
</strong></p> | </strong></p> |