Difference between revisions of "Template:Project"
(Created page with "__NOTOC__ =Function= This is a [https://www.mediawiki.org/wiki/Help:Templates template] for presenting projects on the ENVRI wiki. The logic of using templates is explained i...") |
m |
||
Line 2: | Line 2: | ||
=Function= | =Function= | ||
− | This is a [https://www.mediawiki.org/wiki/Help:Templates template] for | + | This is a [https://www.mediawiki.org/wiki/Help:Templates template] for projects on the ENVRI wiki. The logic of using templates is explained in the [[Manual]]. |
+ | |||
+ | To add a new project correctly, follow the below instructions. | ||
=Syntax= | =Syntax= | ||
Line 20: | Line 22: | ||
<nowiki> | <nowiki> | ||
− | {{Project/summary | + | {{Template:Project/summary |
| url = (Project website.) | | url = (Project website.) | ||
| alt-url = (An alternative URL if the official website no longer exists, eg. after the project has ended. The main url will be struck out.) | | alt-url = (An alternative URL if the official website no longer exists, eg. after the project has ended. The main url will be struck out.) | ||
Line 48: | Line 50: | ||
=Wikitext= | =Wikitext= | ||
''Transclusion starts from here.'' | ''Transclusion starts from here.'' | ||
− | |||
<onlyinclude> | <onlyinclude> | ||
{{Subpages|mbox}} | {{Subpages|mbox}} | ||
Line 55: | Line 56: | ||
{{Template:{{PAGENAME}}/summary}} | {{Template:{{PAGENAME}}/summary}} | ||
</onlyinclude> | </onlyinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 08:20, 27 August 2020
Function
This is a template for projects on the ENVRI wiki. The logic of using templates is explained in the Manual.
To add a new project correctly, follow the below instructions.
Syntax
(1) Create a new template called Template:YourProjectNameHere and copy all of the following into it:
[[File:''YourProjectNameHere''_logo.jpg|right|300px]] {{Template:Project|{{PAGENAME}}}} ...as well as any other information about the project you want to include.
(2) Next, create a subpage called Template:YourProjectNameHere/short. Insert a short description of the project.
(3) Next, create a subpage called Template:YourProjectNameHere/summary. Copy in the following (and fill the blanks):
{{Template:Project/summary | url = (Project website.) | alt-url = (An alternative URL if the official website no longer exists, eg. after the project has ended. The main url will be struck out.) | funding-url = (A link to the funding institution's, eg. Horizon Europe's, project grant website.) | id = (EU Grant Agreement or other project number.) | start-date = | end-date = | length = (In months.) | coordinating-institution = (Can be an external wikilink to a website.) | call = (ID and/or name of the project call.) | topic = (ID and/or name of the project topic.) }}
(4) Next, create (in the same manner as explained above) a Category:YourProjectNameHere page, and categorise it under either Category:Project or one of its subcategories.
(5) Finally, categorise all pages belonging to that project.
(6) Optionally, you may want to create an "About YourProjectNameHere" page under the category you created in the previous step, with nothing but the following line:
{{Template:''YourProjectNameHere''}}
...which will transclude the entire template into a "normal" page (which eg. shows up in searches, unlike templates).
(7) Done!
Wikitext
Transclusion starts from here.
Website | {{{url}}} |
---|---|
Grant website | {{{funding-url}}} |
Project number (EU Grant Proposal) | {{{id}}} |
Starting date | {{{start-date}}} |
Ending date | {{{end-date}}} |
Project length in months | {{{length}}} |
Coordinating institution | {{{coordinating-institution}}} |
Call | {{{call}}} |
Topic | {{{topic}}} |