From Fedora Project Wiki

(Undo revision 36828 by Nim (Talk))
(Move from obsolete Extension:Click to File link)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<div style="float:right; padding: 0px 0px 1em 1em; clear: right;">
<onlyinclude><div style="float:right; padding: 0px 0px 1em 1em; clear: right;">
{{#switch:{{{1|fonts|fonts-sig}}}
{{#switch:{{{1|fonts|fonts-sig}}}
|fonts = {{#Click::Category:Fonts|Fonts_CompactHeader.png|A page on Fedora Fonts}}
|fonts = [[File:Fonts_CompactHeader.png|link=Category:Fonts|A page on Fedora Fonts]]
|fonts-sig = {{#Click::Category:Fonts SIG|SIGs_Fonts_CompactHeader.png|A page of the Fonts Special Interest Group}}
|fonts-sig = [[File:SIGs_Fonts_CompactHeader.png|link=Category:Fonts SIG|A page of the Fonts Special Interest Group]]
|header fail
|header fail
}}
}}
</div><noinclude>{{tempdoc}}</noinclude>
</div></onlyinclude>
 
{{tempdoc}}
[[Category:Header templates]]

Latest revision as of 11:29, 26 July 2011

A page on Fedora Fonts

Template documentation [edit]

This documentation is transcluded from Template:CompactHeader/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:

{{Compactheader|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 =
File:filename.png

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.