From Fedora Project Wiki

(added astronomy SIG banner template)
m (order alpha)
 
(29 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<noinclude>
<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|</nowiki>''project''<nowiki>}}</nowiki>
|ambassadors = [[Image:Ambassadors_Header_AmbassadorsN1.png|right|link=Ambassadors]]
where ''project'' is replaced by one of:
|anaconda = [[Image:Anaconda.png|right|link=anaconda]]
 
|art = [[Image:Artwork_ArtTeamProjects_WikiDesign_ArtTeamN1.png|right|link=Artwork]]
* ambassadors ([[Ambassadors]])
|astronomy = [[Image:SIGs_Astronomy_astronomy4.png|right|link=SIGs/Astronomy]]
* art ([[Artwork]])
|bugs = [[Image:Image-BugZappers bugzappers-wikiheader.png|right|link=BugZappers]]
* astronomy ([[SIGs/Astronomy]])
|cloud-sig = [[Image:Cloudsig-banner.png|right|The Fedora Cloud Special Interest Group|link=Cloud_SIG]]
* bugs ([[BugZappers]])
|commops = [[Image:CommOps_wiki_banner.png|right|link=CommOps]]
* docs ([[DocsProject]])
|design = [[Image:Artwork_ArtTeamProjects_WikiDesign_ArtTeamN1.png|right|link=Design]]
* events ([[FedoraEvents]])
|docs = [[Image:DocsProject_Header_docTeam1.png|right|link=DocsProject]]
* infra ([[Infrastructure]])
|education = [[Image:Fedora-EDU-header-1.png|right|link=SIGs/Education]]
* websites ([[Websites]])
|events = [[Image:FedoraEvents_Header_EventN1.png|right|link=FedoraEvents]]
 
|fonts = [[Image:Fonts_BigHeader.png|right|Fedora Fonts|link=Fonts]]
== Adding your project's header to this template ==
|fonts-sig = [[Image:SIGs_Fonts_BigHeader.png|right|The Fedora Fonts Special Interest Group|link=Category:Fonts_SIG]]
First, pick a short, individual word that describes your group that isn't above. For examples, see above.
|fwn = [[Image:FWN_Header.png|right|link=FWN]]
 
|hospitality = [[Image:FedoraHospitality.png|right|link=Hospitality]]
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.
|i18n = [[Image:I18N.png|right|link=I18N]]
 
|infra = [[Image:Infrastructure_InfrastructureTeamN1.png|right|link=Infrastructure]]
Now, edit this template, and above the line that says
|L10N.png = [[Image:L10N.png|right|link=L10N]]
|header fail
|live-sig = [[File:FedoraLiveBanner2.png|right|The Fedora Live SIG|link=SIGs/Live]]
place a line that contains
|marketing = [[Image:FedoraMarketing.png|right|link=Marketing]]
|''shortname'' = [[Image:''filename.png''|right]]
|qa = [[Image:QA.png|right|link=QA]]
replacing ''shortname'' with the shortname you wanted to use, and ''filename.png'' with the filename.
|RussianFedora = [[File:RussianFedora_logo_for_wiki.png|right|link=Ru RU/Russian Fedora]]
 
|websites = [[Image:Artwork_DesignService_fedorawebsitesbanner_3.png|right|link=Websites]]
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}}}
|art = [[Image:Artwork_ArtTeamProjects_WikiDesign_ArtTeamN1.png|right]]
|ambassadors = [[Image:Ambassadors_Header_AmbassadorsN1.png|right]]
|bugs = [[Image:Image-BugZappers bugzappers-wikiheader.png|right]]
|docs = [[Image:DocsProject_Header_docTeam1.png|right]]
|events = [[Image:FedoraEvents_Header_EventN1.png|right]]
|infra = [[Image:Infrastructure_InfrastructureTeamN1.png|right]]
|websites = [[Image:Artwork_DesignService_fedorawebsitesbanner_3.png|right]]
|astronomy = [[Image:SIGs_Astronomy_astronomy4.png|right]]
|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 21:23, 18 June 2019

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.