Gah - a solution with more questions. – EntropicLqd

Legacy:Project Skins/Custom Headers

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

Making a custom header[edit]

A custom header begins with standard HTML document headers and ends where the page content should begin. Do not leave open HTML elements (eg table, div). Name files and if using an external stylesheet.

Don't use any headings other than H1. Use class styles to create exceptions for A, P, IMG and any other tags you use in the header. Remember to be as strict as possible, eg. for IMG tags set border to zero, background to inherit, margins to zero, etc, as the main content stylesheet may have set these and you need to override them back to normal. (I discovered this just now when I uploaded the Textbook stylesheet and found that the stuff I've set for images and paragraph indents altered the header.)

For content styles you can:

  • import the user's current choice (ahead of the header stylesheet, so the header sheet creates exceptions)
  • import a particular content stylesheet from the list above
  • import a new content stylesheet – in this case you may as well have ALL styles for both header and content in a single CSS file.

The following placeholders are replaced by the script:


intended for the HTML TITLE tag: gives the site name and page name
the page title
inserts a random quip from the quips file


base URL for stylesheets and other files you may need for layout eg logos, buttons etc.
will insert full URL for the user's currently chosen stylesheet. If you don't link this in, add a * to the end of the header name.
inserts full URL for the site's default logo


Home Page
Random Page
Recent Changes
Wiki Markup
Link to MyPage (will create an edit link if page doesnt exist)
Address of upload page (make the link yourself eg <a href="%upload%">text</a>)
Menu anchor for the Quick Navigation (table of contents) menu. For people browsing the Wiki without JavaScript, this placeholder will be replaced by an empty string.