From Fedora Project Wiki

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