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:

ambassadors
File:Ambassadors Header AmbassadorsN1.png


anaconda


art / design


astronomy
File:SIGs Astronomy astronomy4.png


bugs


cloud-sig

header fail


commops

header fail


docs


education

header fail


events
File:FedoraEvents Header EventN1.png


fonts
The Fedora Fonts Special Interest Group
The Fedora Fonts Special Interest Group


fonts-sig

header fail


fwn


hospitality

header fail


i18n

header fail


infra
File:Infrastructure InfrastructureTeamN1.png


L10N

header fail


live-sig

header fail


qa

header fail


RussianFedora

header fail


websites
File:Artwork DesignService fedorawebsitesbanner 3.png


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 File: and the file extension.

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

| websites = …

place a line that contains

| shortname = [[File:filename.png|right]]

replacing shortname with the short name 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 subproject.