Template:Header

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(added i18n)
 
(36 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<!-- Please be VERY CAREFUL with this template. Know your ParserFunctions. -->
+
<div style="height: 60px; width: 100%; background-color: #002867;">
This template provides the headers for all the sub-project pages. The syntax is as follows:
+
{{#switch:{{{1|websites}}}
<nowiki>{{header|''project''}}</nowiki>
+
|ambassadors = [[Image:Ambassadors_Header_AmbassadorsN1.png|right]]
where ''project'' is replaced by one of:
+
|anaconda = [[Image:Anaconda.png|right]]
* art ([[Artwork]])
+
* events ([[FedoraEvents]])
+
* infra ([[Infrastructure]])
+
 
+
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. (Its not really that hard.)
+
<includeonly><div style="height: 60px; width: 100%; background-color: #002867; padding: 3px 0;">
+
{{#switch:{{{1|none}}}
+
 
|art = [[Image:Artwork_ArtTeamProjects_WikiDesign_ArtTeamN1.png|right]]
 
|art = [[Image:Artwork_ArtTeamProjects_WikiDesign_ArtTeamN1.png|right]]
 +
|bugs = [[Image:Image-BugZappers bugzappers-wikiheader.png|right]]
 +
|design = [[Image:Artwork_ArtTeamProjects_WikiDesign_ArtTeamN1.png|right]]
 +
|docs = [[Image:DocsProject_Header_docTeam1.png|right]]
 
|events = [[Image:FedoraEvents_Header_EventN1.png|right]]
 
|events = [[Image:FedoraEvents_Header_EventN1.png|right]]
|infra = [[Image:Infrastructure_InfrastructureTeamN1.png|right]]
+
|fonts = [[Image:Fonts_BigHeader.png|right|Fedora Fonts]]
 +
|fonts-sig = [[Image:SIGs_Fonts_BigHeader.png|right|The Fedora Fonts Special Interest Group]]
 +
|i18n = [[Image:I18N.png|right]]
 +
|infra = [[Image:Infrastructure_InfrastructureTeamN1.png|right|link=Infrastructure]]
 +
|websites = [[Image:Artwork_DesignService_fedorawebsitesbanner_3.png|right]]
 +
|astronomy = [[Image:SIGs_Astronomy_astronomy4.png|right]]
 +
|fwn = [[Image:FWN_Header.png|right]]
 +
|qa = [[Image:QA.png|right]]
 +
|education = [[Image:Fedora-EDU-header-1.png|right]]
 +
|marketing = [[Image:FedoraMarketing.png|right]]
 +
|L10N.png = [[Image:L10N.png|right]]
 +
|hospitality = [[Image:FedoraHospitality.png|right]]
 +
|RussianFedora = [[File:RussianFedora_logo_for_wiki.png|right]]
 +
|cloud-sig = [[Image:Cloudsig-banner.png|right|The Fedora Cloud Special Interest Group]]
 
|header fail
 
|header fail
 
}}
 
}}
 
</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>

Latest revision as of 03:06, 17 May 2013

Artwork DesignService fedorawebsitesbanner 3.png
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:

[edit] 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.