Template:Header

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(added instructions and got rid of the dire warnings)
(added i18n)
(31 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|''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]])
+
* bugs ([[BugZappers]])
+
 
+
== 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 <code>Image:</code> and the syntax.
+
 
+
Now, edit this template, and above the line that says
+
|header fail
+
place a line that contains
+
|''shortname'' = [[Image:''filename.png''|right]]
+
replacing ''shortname'' with the shortname you wanted to use, and ''filename.png'' with the filename.
+
 
+
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]]
 
|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]]
|bugs = [[Image:Image:BugZappers bugzappers-wikiheader.png|right]]
+
|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>

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:

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.
http://fedoraproject.org/w/index.php?title=Template:Header&diff=337612&oldid=26460
fedoraproject.org
crawl=CC-MAIN-2017-43
34989
application/http; msgtype=response
sha1:UW7PJ5RFZ5DDOBVFBC572ILA7PTFS7HA
<urn:uuid:973831df-be93-4321-bff8-1d09e780d35b>
2017-10-19T20:23:26Z
8.43.85.67
application/xhtml+xml
sha1:DJCDSSW6JZBIR2Z63BW5OAEY4P65FQ2V
<urn:uuid:60c5bd0d-ee7f-456b-b118-61b5a8614097>
http://fedoraproject.org/w/index.php?title=Template:Header&diff=337612&oldid=26460
length
response
<urn:uuid:8c7f31bc-8634-4669-8eff-63ef496716de>
robots: classic
hostname: ip-10-157-174-116.ec2.internal
software: Nutch 1.6 (CC)
isPartOf: CC-MAIN-2017-43
operator: Common Crawl Admin
description: Wide crawl of the web for October 2017
publisher: Common Crawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf