From Fedora Project Wiki

(+bugs)
(added instructions and got rid of the dire warnings)
Line 1: Line 1:
<!-- Please be VERY CAREFUL with this template. Know your ParserFunctions. --><noinclude>
<noinclude>
This template provides the headers for all the sub-project pages. The syntax is as follows:
This template provides the headers for all the sub-project pages. The syntax is as follows:
  <nowiki>{{header|''project''}}</nowiki>
  <nowiki>{{header|''project''}}</nowiki>
Line 8: Line 8:
* bugs ([[BugZappers]])
* bugs ([[BugZappers]])


If you think your project's header needs to be in here, you can edit this template and put it in, but be '''very careful''', as some mistakes could break the headers for the entire site. (It's not really that hard.)
== 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 <code>Image:</code> and the syntax.
 
Now, edit this template, and above the line that says
|header fail
place a line that contains
|''shortname'' = [[Image:''filename.png''|right]]
replacing ''shortname'' with the shortname you wanted to use, and ''filename.png'' with the filename.
 
The last and most important part: document your change! Above in the list that shows on the page, add your entry and the index page for your sub-project.
</noinclude><includeonly><div style="height: 60px; width: 100%; background-color: #002867; padding: 3px 0;">
</noinclude><includeonly><div style="height: 60px; width: 100%; background-color: #002867; padding: 3px 0;">
{{#switch:{{{1|none}}}
{{#switch:{{{1|none}}}

Revision as of 04:08, 26 May 2008

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

{{header|''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 syntax.

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

|header fail

place a line that contains

|shortname =

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

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