From Fedora Project Wiki

(reworked stuff to use the {{tempdoc}} standard)
Line 1: Line 1:
<noinclude>
<div style="height: 60px; width: 100%; background-color: #002867; padding: 3px 0;">
This template provides the headers for all the sub-project pages. The syntax is as follows:
{{#switch:{{{1|websites}}}
<nowiki>{{header|</nowiki>''project''<nowiki>}}</nowiki>
where ''project'' is replaced by one of:
 
* ambassadors ([[Ambassadors]])
* anaconda ([[Anaconda]])
* art ([[Artwork]])
* astronomy ([[SIGs/Astronomy]])
* bugs ([[BugZappers]])
* docs ([[DocsProject]])
* events ([[FedoraEvents]])
* fonts ([[SIGs/Fonts]])
* infra ([[Infrastructure]])
* websites ([[Websites]])
* fwn ([[FWN]])
 
== 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 file extension.
 
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;">
{{#switch:{{{1|none}}}
|ambassadors = [[Image:Ambassadors_Header_AmbassadorsN1.png|right]]
|ambassadors = [[Image:Ambassadors_Header_AmbassadorsN1.png|right]]
|anaconda = [[Image:Anaconda.png|right]]
|anaconda = [[Image:Anaconda.png|right]]
Line 44: Line 15:
}}
}}
</div>
</div>
<div style="margin: 6px 0; height: 2px; width: 100%; background-color: #00578e;"></div></includeonly>
<div style="margin: 6px 0; height: 2px; width: 100%; background-color: #00578e;"></div>
<noinclude>{{tempdoc}}</noinclude>

Revision as of 00:16, 8 June 2008

Template documentation [edit]

This documentation is transcluded from Template:Header/doc. It will not be transcluded on pages that use this template.

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 file extension.

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! Edit this documentation, and in the list that shows on the page, add your entry and the index page for your sub-project.