Editing Template:Project
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 2: | Line 2: | ||
=Function= | =Function= | ||
− | This is a [https://www.mediawiki.org/wiki/Help:Templates template] for projects on the ENVRI wiki. | + | This is a [https://www.mediawiki.org/wiki/Help:Templates template] for projects on the ENVRI wiki. To add a new project correctly, follow the below instructions. |
The logic of using templates is explained in [[Help:Manual]]. | The logic of using templates is explained in [[Help:Manual]]. | ||
Line 8: | Line 8: | ||
=Syntax= | =Syntax= | ||
− | + | (1) [https://www.mediawiki.org/wiki/Help:Starting_a_new_page Create a new template] called '''Template:''YourProjectNameHere''''' and copy all of the following into it: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<nowiki> | <nowiki> | ||
Line 23: | Line 17: | ||
...as well as any other information about the project you want to include.</nowiki> | ...as well as any other information about the project you want to include.</nowiki> | ||
− | + | (2) Next, create a [https://www.mediawiki.org/wiki/Help:Subpages 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): | |
− | |||
− | |||
<nowiki> | <nowiki> | ||
Line 43: | Line 35: | ||
}}</nowiki> | }}</nowiki> | ||
− | + | (4) Next, create (in the same manner as explained above) a '''Category:''YourProjectNameHere''''' page, and [https://www.mediawiki.org/wiki/Help:Categories categorise] it under either [[:Category:Project]] or one of its subcategories. | |
− | |||
− | Next, create (in the same manner as explained above) a '''Category:''YourProjectNameHere''''' page, and [https://www.mediawiki.org/wiki/Help:Categories categorise] it under either [[:Category:Project]] or one of its subcategories. | ||
− | |||
− | |||
− | |||
− | |||
− | + | (5) Finally, [https://www.mediawiki.org/wiki/Help:Categories categorise] all pages belonging to that project. (Uncategorised pages can be found by using the [[Special:SpecialPages]].) | |
− | + | (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: | |
<nowiki>{{Template:''YourProjectNameHere''}}</nowiki> | <nowiki>{{Template:''YourProjectNameHere''}}</nowiki> | ||
Line 59: | Line 45: | ||
...which will [https://en.wikipedia.org/wiki/Help:Transclusion transclude] the entire template into a "normal" page (which eg. shows up in searches, unlike templates). | ...which will [https://en.wikipedia.org/wiki/Help:Transclusion transclude] the entire template into a "normal" page (which eg. shows up in searches, unlike templates). | ||
− | Done! | + | (7) Done! |
{{Subpages|heading}} | {{Subpages|heading}} | ||
=Wikitext= | =Wikitext= |