You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:CSS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<div id="content-background">{{{Page_Background|}}}</div> | <div id="content-background">{{{Page_Background|}}}</div> | ||
<div id="content-border">{{{Page_Border_Colour|}}}</div> | <div id="content-border">{{{Page_Border_Colour|}}}</div> | ||
<div id="content-color">{{{Page_Text_Colour|}}}</div> | |||
<div id="content-title">{{{Page_Title_Colour|}}}</div> | <div id="content-title">{{{Page_Title_Colour|}}}</div> | ||
<div id="content-title-bar">{{{Page_Title_Underline_Colour|}}}</div> | <div id="content-title-bar">{{{Page_Title_Underline_Colour|}}}</div> | ||
<div id="content-page-bar">{{{Page_Underline_Colour|}}}</div> | <div id="content-page-bar">{{{Page_Underline_Colour|}}}</div> | ||
<div id="content-redirects">{{{Redirect_Message_Colour|}}}</div> | <div id="content-redirects">{{{Redirect_Message_Colour|}}}</div> | ||
</includeonly><noinclude>{{Template | <div id="custom-link">{{{Hyperlink_Default_Colour|}}}</div> | ||
<div id="custom-link-visited">{{{Hyperlink_Visited_Colour|}}}</div> | |||
<div id="custom-link-new">{{{Hyperlink_Page_Doesn't_Exsist_Colour|}}}</div> | |||
<div id="catlinks-background">{{{Category_Bar_Background|}}}</div> | |||
<div id="catlinks-border">{{{Category_Bar_Border_Colour|}}}</div> | |||
<div id="tabs-border">{{{Page_Tabs_Default_Border_Colour|}}}</div> | |||
<div id="tabs-selected-border">{{{Page_Tabs_Selected_Border_Colour|}}}</div> | |||
<div id="tabs-background">{{{Page_Tabs_Default_Background|}}}</div> | |||
<div id="tabs-selected-background">{{{Page_Tabs_Selected_Background|}}}</div> | |||
<div id="body-background">{{{Main_Background|}}}</div> | |||
<div id="footer-background">{{{Footer_Background|}}}</div> | |||
<div id="footer-border">{{{Footer_Border_Colour|}}}</div></includeonly><noinclude>{{Template | |||
|Name=CSS | |Name=CSS | ||
|Type=Formatting | |Type=Formatting | ||
|Sub=No | |Sub=No | ||
|Designer=wgeurts | |Designer=wgeurts | ||
}}</noinclude> | }}<div align=center>{{Official}}</div> | ||
This Template was made by wgeurts to allow users of the MafiaWiki to customise the basic CSS of each individual page. With this template it's possible to change the colours and backgrounds of a page. | |||
==Syntax== | |||
<pre>{{CSS | |||
|Page_Background= | |||
|Page_Border_Colour= | |||
|Page_Text_Colour= | |||
|Page_Title_Colour= | |||
|Page_Title_Underline_Colour= | |||
|Page_Underline_Colour= | |||
|Redirect_Message_Colour= | |||
|Hyperlink_Default_Colour= | |||
|Hyperlink_Visited_Colour= | |||
|Hyperlink_Page_Doesn't_Exsist_Colour= | |||
|Category_Bar_Background= | |||
|Category_Bar_Border_Colour= | |||
|Page_Tabs_Default_Border_Colour= | |||
|Page_Tabs_Selected_Border_Colour= | |||
|Page_Tabs_Default_Background= | |||
|Page_Tabs_Selected_Background= | |||
|Main_Background= | |||
|Footer_Background= | |||
|Footer_Border_Colour= | |||
}}</pre> | |||
==Explanation== | |||
<pre> | |||
{{CSS | |||
|Page_Background= The background of the body of text and the menu bars on the left. | |||
|Page_Border_Colour= The border colour of the body of text and the menu bars on the left. | |||
|Page_Text_Colour= The default text colour. | |||
|Page_Title_Colour= The colour of the page title. | |||
|Page_Title_Underline_Colour= The colour of the line under the page title. | |||
|Page_Underline_Colour= The colour of the line made with "------" and under headers. | |||
|Redirect_Message_Colour= The colour of the text shown when redirected to the page. | |||
|Hyperlink_Default_Colour= The default link colour. | |||
|Hyperlink_Visited_Colour= The colour of a visited link. | |||
|Hyperlink_Page_Doesn't_Exsist_Colour= The colour of a link to a non-existent page. | |||
|Category_Bar_Background= The background of the category bar. | |||
|Category_Bar_Border_Colour= The border colour of the category bar. | |||
|Page_Tabs_Default_Border_Colour= The colour of the border around the tabs at the top of the page. | |||
|Page_Tabs_Selected_Border_Colour= The border colour of the selected tabs. | |||
|Page_Tabs_Default_Background= The background of the tabs. | |||
|Page_Tabs_Selected_Background= The background of the selected tabs. | |||
|Main_Background= The background that is behind the page and nav-boxes. | |||
|Footer_Background= The background of the footer. | |||
|Footer_Border_Colour= The border colour of the footer. | |||
}}</pre> | |||
==Example== | |||
See: [[Template:CSS/Example]]</noinclude> |
Latest revision as of 09:11, 29 March 2015
|
- This page has official status; unlike most wiki pages, it cannot be edited by normal users. If you believe edits need to be made, please bring them up on the talk page.
This Template was made by wgeurts to allow users of the MafiaWiki to customise the basic CSS of each individual page. With this template it's possible to change the colours and backgrounds of a page.
Syntax
{{CSS |Page_Background= |Page_Border_Colour= |Page_Text_Colour= |Page_Title_Colour= |Page_Title_Underline_Colour= |Page_Underline_Colour= |Redirect_Message_Colour= |Hyperlink_Default_Colour= |Hyperlink_Visited_Colour= |Hyperlink_Page_Doesn't_Exsist_Colour= |Category_Bar_Background= |Category_Bar_Border_Colour= |Page_Tabs_Default_Border_Colour= |Page_Tabs_Selected_Border_Colour= |Page_Tabs_Default_Background= |Page_Tabs_Selected_Background= |Main_Background= |Footer_Background= |Footer_Border_Colour= }}
Explanation
{{CSS |Page_Background= The background of the body of text and the menu bars on the left. |Page_Border_Colour= The border colour of the body of text and the menu bars on the left. |Page_Text_Colour= The default text colour. |Page_Title_Colour= The colour of the page title. |Page_Title_Underline_Colour= The colour of the line under the page title. |Page_Underline_Colour= The colour of the line made with "------" and under headers. |Redirect_Message_Colour= The colour of the text shown when redirected to the page. |Hyperlink_Default_Colour= The default link colour. |Hyperlink_Visited_Colour= The colour of a visited link. |Hyperlink_Page_Doesn't_Exsist_Colour= The colour of a link to a non-existent page. |Category_Bar_Background= The background of the category bar. |Category_Bar_Border_Colour= The border colour of the category bar. |Page_Tabs_Default_Border_Colour= The colour of the border around the tabs at the top of the page. |Page_Tabs_Selected_Border_Colour= The border colour of the selected tabs. |Page_Tabs_Default_Background= The background of the tabs. |Page_Tabs_Selected_Background= The background of the selected tabs. |Main_Background= The background that is behind the page and nav-boxes. |Footer_Background= The background of the footer. |Footer_Border_Colour= The border colour of the footer. }}
Example
See: Template:CSS/Example