From Fedora Project Wiki

(New page: This template provides the headers for all the sub-project pages. The syntax is as follows: :<nowiki>{{Compactheader|</nowiki>''project''<nowiki>}}</nowiki> where ''project'' is replaced b...)
 
(Removed Category:Template documentation as I don't believe this category is necessary. Seems to currently be redundant with Category:Templates or the Template namespace)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This template provides the headers for all the sub-project pages. The syntax is as follows:
<onlyinclude>This template provides the headers for all the sub-project pages. The syntax is as follows:
:<nowiki>{{Compactheader|</nowiki>''project''<nowiki>}}</nowiki>
:<nowiki>{{Compactheader|</nowiki>''project''<nowiki>}}</nowiki>
where ''project'' is replaced by one of:
where ''project'' is replaced by one of:


* fonts ([[:Category:Fonts SIG|Fonts SIG]])
* fonts ([[:Category:Fonts|Fedora Fonts]])
* fonts-sig ([[:Category:Fonts SIG|Fonts SIG]])


== Adding your project's header to this template ==
== Adding your project's header to this template ==
Line 16: Line 17:
replacing ''shortname'' with the shortname you wanted to use, and ''filename.png'' with the filename.
replacing ''shortname'' with the shortname you wanted to use, and ''filename.png'' with the filename.


The last and most important part: document your change! Edit this documentation, and in the list that shows on the page, add your entry and the index page for your sub-project.
The last and most important part: document your change! Edit this documentation, and in the list that shows on the page, add your entry and the index page for your sub-project.</onlyinclude>

Latest revision as of 08:10, 28 June 2010

This template provides the headers for all the sub-project pages. The syntax is as follows:

{{Compactheader|project}}

where project is replaced by one of:

Adding your project's header to this template

First, pick a short, individual word that describes your group that isn't above. For examples, see above.

We need a header image now. Upload or find your 468x60 header image and get the name of it, including the Image: and the file extension.

Now, edit this template, and above the line that says

|header fail

place a line that contains

|shortname =

File:filename.png

replacing shortname with the shortname you wanted to use, and filename.png with the filename.

The last and most important part: document your change! Edit this documentation, and in the list that shows on the page, add your entry and the index page for your sub-project.