Editing Template:Project

Jump to: navigation, search

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=
  
To add a new project correctly, follow the below instructions:
+
(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:
 
 
==Step 1: Create a new project template==
 
 
 
a) [[Special:Upload|Upload the project logo]], if you have one. The general naming convention has been ''ProjectName_logo.jpg''.
 
 
 
b) [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>
  
==Step 2: Create subpages==
+
(2) Next, create a [https://www.mediawiki.org/wiki/Help:Subpages subpage] called '''Template:''YourProjectNameHere''/short'''. Insert a short description of the project.
  
a) 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):
 
 
b) Next, create a subpage called '''Template:''YourProjectNameHere''/summary'''. Copy in the following (and fill the blanks):
 
  
 
  <nowiki>
 
  <nowiki>
Line 43: Line 35:
 
}}</nowiki>
 
}}</nowiki>
  
==Step 3: Create a project category==
+
(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.
 
 
 
==Step 4: Put things in the project category==
 
 
 
Finally, [https://www.mediawiki.org/wiki/Help:Categories categorise] all pages belonging to that project. (Uncategorised pages can be found via [[Special:SpecialPages]].)
 
  
==Step 5 (optional): Create an 'About' page for your project==
+
(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]].)
  
You may want to create an "About ''YourProjectNameHere''" page under the category you created in the previous step, with nothing but the following line:
+
(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=

Please note that all contributions to may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)