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. The logic of using templates is explained in the [[Manual]].
  
The logic of using templates is explained in [[Help:Manual]].
+
To add a new project correctly, follow the below instructions.
  
 
=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>
 
[[File:''YourProjectNameHere''_logo.jpg|right|300px]]
 
[[File:''YourProjectNameHere''_logo.jpg|right|300px]]
{{Subpages|mbox}}
 
 
{{Template:Project|{{PAGENAME}}}}
 
{{Template:Project|{{PAGENAME}}}}
  
...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 41: Line 33:
 
| call = (ID and/or name of the project call.)
 
| call = (ID and/or name of the project call.)
 
| topic = (ID and/or name of the project topic.)
 
| topic = (ID and/or name of the project topic.)
}}</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.
+
(5) Finally, [https://www.mediawiki.org/wiki/Help:Categories categorise] all pages belonging to that project.
  
==Step 4: Put things in the project category==
+
(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:
 
 
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==
 
 
 
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 46:
 
...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=
 
''Transclusion starts from here.''
 
''Transclusion starts from here.''
 
<onlyinclude>
 
<onlyinclude>
 +
{{Subpages|mbox}}
 
{{Template:{{PAGENAME}}/short}}
 
{{Template:{{PAGENAME}}/short}}
  
 
{{Template:{{PAGENAME}}/summary}}
 
{{Template:{{PAGENAME}}/summary}}
 
</onlyinclude>
 
</onlyinclude>

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)