From Fedora Project Wiki

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