You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:CSS: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 23: Line 23:
|Sub=No
|Sub=No
|Designer=wgeurts
|Designer=wgeurts
}}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.
}}<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.




Line 48: Line 49:
|Footer_Background=
|Footer_Background=
|Footer_Border_Colour=
|Footer_Border_Colour=
}}</pre></noinclude>
}}</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

Name:
  • CSS
Type:
Sub-Template:
  • No
Designer:
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