From Fedora Project Wiki

(Turns out these last 21 years editing Wikipedia did come in handy...the wiki's biggest source of broken links isn't broken anymore!)
 
(26 intermediate revisions by 16 users not shown)
Line 1: Line 1:
<noinclude>
<div style="background-color: #002867; height: 60px; width: 100%;">{{#switch:{{lc:{{{group|{{{team|{{{1|}}}}}}}}}}}
This template provides the headers for all the sub-project pages. The syntax is as follows:
| ambassadors   = [[File:AmbassadorsBannerTemplate image.png|right|link=Ambassadors]]
<nowiki>{{header|</nowiki>''project''<nowiki>}}</nowiki>
| anaconda     = [[File:Anaconda.png|right|link=Anaconda]]
where ''project'' is replaced by one of:
| art
 
| design        = [[File:Artwork ArtTeamProjects WikiDesign ArtTeamN1.png|right|link=Design]]
* ambassadors ([[Ambassadors]])
| astronomy     = [[File:AstronomyBannerTemplate image.png|right|link=:Category:Astronomy SIG]]
* anaconda ([[Anaconda]])
| bugs         = [[File:Image-BugZappers bugzappers-wikiheader.png|right|link=BugZappers|The Fedora Cloud Special Interest Group]]
* art ([[Artwork]])
| cloud-sig    = [[File:Cloudsig-banner.png|right|link=Cloud SIG]]
* astronomy ([[SIGs/Astronomy]])
| commops      = [[File:CommOps wiki banner.png|right|link=CommOps]]
* bugs ([[BugZappers]])
| docs          = [[File:DocsProject Header docTeam1.png|right|link=DocsProject]]
* docs ([[DocsProject]])
| education    = [[File:Fedora-EDU-header-1.png|right|link=SIGs/Education]]
* events ([[FedoraEvents]])
| events        = [[File:EventsBannerTemplate image.png|right|link=FedoraEvents]]
* fonts ([[SIGs/Fonts]])
  | fonts        = [[File:Fonts BigHeader.png|right|Fedora Fonts|link=Fonts]]
* infra ([[Infrastructure]])
| fonts-sig    = [[File:SIGs Fonts BigHeader.png|right|link=:Category:Fonts SIG|The Fedora Fonts Special Interest Group]]
* websites ([[Websites]])
| fwn          = [[File:FWN Header.png|right|link=FWN]]
* fwn ([[FWN]])
| hospitality  = [[File:FedoraHospitality.png|right|link=Hospitality]]
 
| i18n          = [[File:I18N.png|right|link=I18N]]
== Adding your project's header to this template ==
| infra        = [[File:InfrastructureBannerTemplate image.png|right|link=Infrastructure]]
First, pick a short, individual word that describes your group that isn't above. For examples, see above.
| l10n          = [[File:L10N.png|right|link=L10N]]
 
| live-sig      = [[File:FedoraLiveBanner2.png|right|link=SIGs/Live|The Fedora Live SIG]]
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.
| marketing    = [[File:FedoraMarketing.png|right|link=Marketing]]
 
| qa            = [[File:QA.png|right|link=QA]]
Now, edit this template, and above the line that says
| russianfedora = [[File:RussianFedora logo for wiki.png|right|link=Ru RU/Russian Fedora]]
|header fail
| websites      = [[File:WebsitesBannerTemplate image.png|right|link=Websites]]
place a line that contains
| #default      =
  |''shortname'' = [[Image:''filename.png''|right]]
}}</div><div style="background-color: #00578e; height: 2px; margin: 6px 0; width: 100%;"></div><noinclude>
replacing ''shortname'' with the shortname you wanted to use, and ''filename.png'' with the filename.
{{Tempdoc}}</noinclude>
 
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]]
|anaconda = [[Image:Anaconda.png|right]]
|art = [[Image:Artwork_ArtTeamProjects_WikiDesign_ArtTeamN1.png|right]]
|bugs = [[Image:Image-BugZappers bugzappers-wikiheader.png|right]]
|docs = [[Image:DocsProject_Header_docTeam1.png|right]]
|events = [[Image:FedoraEvents_Header_EventN1.png|right]]
|fonts = [[Image:SIGs_Fonts_BigHeader.png|right|The Fedora Fonts Special Interest Group]]
|infra = [[Image:Infrastructure_InfrastructureTeamN1.png|right]]
|websites = [[Image:Artwork_DesignService_fedorawebsitesbanner_3.png|right]]
|astronomy = [[Image:SIGs_Astronomy_astronomy4.png|right]]
|fwn = [[Image:FWN_Header.png|right]]
|header fail
}}
</div>
<div style="margin: 6px 0; height: 2px; width: 100%; background-color: #00578e;"></div></includeonly>

Latest revision as of 22:10, 19 July 2024

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
anaconda
art / design
astronomy
bugs
The Fedora Cloud Special Interest Group
The Fedora Cloud Special Interest Group
cloud-sig
commops
docs
education
events
fonts
Fedora Fonts
Fedora Fonts
fonts-sig
The Fedora Fonts Special Interest Group
The Fedora Fonts Special Interest Group
fwn
hospitality
i18n
infra
L10N
live-sig
The Fedora Live SIG
The Fedora Live SIG
qa
RussianFedora
websites

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.