Anonymous
×
Create a new article
Write your page title here:
We currently have 15 articles on TwistedFates Database. Type your article name above or click on one of the titles below and start writing!



TwistedFates Database
15Articles

MediaWiki:Common.css and Module:Message box/configuration: Difference between pages

(Difference between pages)
No edit summary
 
m (1 revision imported)
 
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
--------------------------------------------------------------------------------
/*MediaWiki:Common.css*/
--                          Message box configuration                        --
--                                                                            --
-- This module contains configuration data for [[Module:Message box]].       --
--------------------------------------------------------------------------------


/* changes the background color of the bottom and left of each page, up to behind half of the logo */
return {
 
ambox = {
body {
types = {
background-image: url(/w/resources/assets/ambrosiapattern.jpg);
speedy = {
background-repeat: repeat;
class = 'ambox-speedy',
font-family: 'Roboto Mono', monospace;
image = 'Ambox warning pn.svg'
font-weight:500;
},
}
delete = {
 
class = 'ambox-delete',
 
image = 'Ambox warning pn.svg'
/* changes the background color behind the top half of the logo and at top of each page */
},
 
content = {
#mw-page-base {background: #0A0A0A}
class = 'ambox-content',
 
image = 'Ambox important.svg'
 
},
/****Edit Link Appearance****/
style = {
 
class = 'ambox-style',
div#mw-panel div.portal div.body ul li a {
image = 'Edit-clear.svg'
color: #e4A732;
},
font-size: 16px;
move = {
}
class = 'ambox-move',
 
image = 'Merge-split-transwiki default.svg'
div#mw-panel div.portal div.body ul li a:hover {
},
text-decoration: none;
protection = {
color: #a178a6 !important;
class = 'ambox-protection',
}
image = 'Semi-protection-shackle-keyhole.svg'
 
},
div#mw-panel div.portal div.body ul li a:visited {color: #e4a732}
notice = {
 
class = 'ambox-notice',
.ve-activated #catlinks a, a.new:visited, #p-personal a.new:visited{color:#E4A732}
image = 'Information icon4.svg'
a:link{
}
color: #e4a732;
},
text-decoration: none;
default                    = 'notice',
}
allowBlankParams            = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
 
allowSmall                  = true,
@media screen {
smallParam                  = 'left',
    a {
smallClass                  = 'mbox-small-left',
color: #e4a732;
substCheck                  = true,
text-decoration: none !important;
classes                    = {'metadata', 'ambox'},
}
imageEmptyCell              = true,
 
imageCheckBlank            = true,
a:hover {
imageSmallSize              = '20x20px',
color: #a178a6 !important;
imageCellDiv                = true,
}
useCollapsibleTextFields    = true,
 
imageRightNone              = true,
div.vectorTabs span > a {
sectionDefault              = 'article',
    float: left;
allowMainspaceCategories   = true,
    display: block;
templateCategory            = 'Article message templates',
color: #fefde2;
        templateCategoryRequireName = true,
font-weight: 800;
templateErrorCategory      = 'Article message templates with missing parameters',
font-size: 14px;
templateErrorParamsToCheck  = {'issue', 'fix', 'subst'},
border: none;
removalNotice              = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
}
},
 
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
cmbox = {
color: #fefde2;
types = {
font-weight: 800;
speedy = {
text-shadow:
class = 'cmbox-speedy',
   -.5px -.5px 0 #000,
image = 'Ambox warning pn.svg'
    .5px -.5px 0 #000,
},
    -.5px .5px 0 #000,
delete = {
    .5px .5px 0 #000;
class = 'cmbox-delete',
font-size: 16px;
image = 'Ambox warning pn.svg'
border: none;
},
}
content = {
 
class = 'cmbox-content',
div.vectorTabs li a {
image = 'Ambox important.svg'
color: #fefde2;
},
font-weight: 800;
style = {
font-size: 14px;
class = 'cmbox-style',
        background-color: #200D24;
image = 'Edit-clear.svg'
}
},
 
move = {
div.vectorTabs li a:hover {
class = 'cmbox-move',
color: #a178a6;
image = 'Merge-split-transwiki default.svg'
        background-color: #200D24;
},
}
protection = {
 
class = 'cmbox-protection',
div.vectorTabs li.new a, div.vectorTabs li.new a:visited {
image = 'Semi-protection-shackle-keyhole.svg'
background-color: #200D24;
},
border: none;
notice = {
}
class = 'cmbox-notice',
 
image = 'Information icon4.svg'
a:visited{color:#e4a732}
}
 
},
/*Edit Gallery Appearance*/
default              = 'notice',
 
showInvalidTypeError = true,
ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper, ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper, ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper{background-color:rgba(0,0,0,0.3)}
classes              = {'cmbox'},
 
imageEmptyCell      = true
 
},
/*Edit Table Appearance*/
 
fmbox = {
table.wikitable > ,tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td{border: 0 !important;
types = {
border-radius: 4px !important;
warning = {
padding: 3px !important;}
class = 'fmbox-warning',
table.wikitable {
image = 'Ambox warning pn.svg'
border: 0;
},
}
editnotice = {
th {
class = 'fmbox-editnotice',
border: 0;
image = 'Information icon4.svg'
background-color: rgba(255,255,255,0.0);
},
}
system = {
tr{
class = 'fmbox-system',
border: 0;
image = 'Information icon4.svg'
}
}
 
},
 
default              = 'system',
/*Edit UI Appearance*/
showInvalidTypeError = true,
#wpSaveWidget{
classes              = {'fmbox'},
background-color: #e4a732;
imageEmptyCell      = false,
border: 0;
imageRightNone      = false
border-radius: 4px;
},
}
 
imbox = {
 
types = {
/*Edit DIV Appearance*/
speedy = {
 
class = 'imbox-speedy',
.catlinks{
image = 'Ambox warning pn.svg'
background-color: rgba(255,255,255,0.3);
},
border: 0;
delete = {
border-radius: 4px;
class = 'imbox-delete',
padding-left: 5%;
image = 'Ambox warning pn.svg'
}
},
 
content = {
div.thumbinner, table.wikitable, tbody, .toc, .mw-warning, .toccolours {
class = 'imbox-content',
    border: 0;
image = 'Ambox important.svg'
    background-color: rgba(255,255,255,0.4) !important;
},
    padding: 5px;
style = {
    font-size: 95%;
class = 'imbox-style',
    border-radius: 4px;
image = 'Edit-clear.svg'
    color: #200D24;
},
}
move = {
 
class = 'imbox-move',
#content {background-color: #200D24}
image = 'Merge-split-transwiki default.svg'
 
},
#mw-content-text {background-color: #200D24;
protection = {
color: #EFF6F8;}
class = 'imbox-protection',
.mw-editform .editOptions{
image = 'Semi-protection-shackle-keyhole.svg'
background-color: rgba(255,255,255,0.4) !important;
},
border: 0 !important;
license = {
border-radius: 4px !important;
class = 'imbox-license licensetpl',
}
image = 'Imbox license.png' -- @todo We need an SVG version of this
.mw-body .firstHeading {
},
color: #fefde2;
featured = {
font-family: 'Roboto Mono', monospace;
class = 'imbox-featured',
text-shadow:
image = 'Cscr-featured.svg'
  -.5px -.5px 0 #000,
},
    .5px -.5px 0 #000,
notice = {
    -.5px .5px 0 #000,
class = 'imbox-notice',
    .5px .5px 0 #000;
image = 'Information icon4.svg'
}
}
div#mw-panel{position:fixed}
},
 
default              = 'notice',
/*Edit List Appearance*/
showInvalidTypeError = true,
div.vectorTabs ul li {background-color: #200D24;
classes              = {'imbox'},
border: 0;
imageEmptyCell      = true,
}
below                = true,
div.vectorTabs li{border-radius: 4px 4px 0px 0px}
templateCategory    = 'File message boxes'
div.vectorTabs{
},
background-image: none;
background-color: transparent;}
ombox = {
 
types = {
div.vectorTabs li.selected {background-color: #200D24;
speedy = {
border: 0;
class = 'ombox-speedy',
}
image = 'Ambox warning pn.svg'
 
},
 
delete = {
/*Edit Global Text Appearance*/
class = 'ombox-delete',
 
image = 'Ambox warning pn.svg'
div#mw-panel div.portal
},
h3 {
content = {
    display: block;
class = 'ombox-content',
    font-size: 1.17em;
image = 'Ambox important.svg'
color: #fefde2;
},
    -webkit-margin-before: 3px;
style = {
    -webkit-margin-after: 3px;
class = 'ombox-style',
    -webkit-margin-start: 0px;
image = 'Edit-clear.svg'
    -webkit-margin-end: 0px;
},
    font-weight: bold;
move = {
text-align: center;
class = 'ombox-move',
}
image = 'Merge-split-transwiki default.svg'
.mw-body{border:none;
},
color: #fff;
protection = {
}
class = 'ombox-protection',
h1, h2, h3, h4, h5 {
image = 'Semi-protection-shackle-keyhole.svg'
font-family: 'Roboto Mono', monospace !important;
},
font-weight: bold;
notice = {
color: #EFF6F8;
class = 'ombox-notice',
}
image = 'Information icon4.svg'
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
}
  font-family: 'Roboto Mono', monospace !important;
},
font-weight: bold;
default              = 'notice',
color: #EFF6F8;
showInvalidTypeError = true,
}
classes              = {'ombox'},
 
allowSmall          = true,
 
imageEmptyCell      = true,
/* OTHER CONFIGURATIONS */
imageRightNone      = true
 
},
/** Hide Main Page Heading **/
h1#firstHeading.firstHeading{
tmbox = {
display: none;
types = {
margin-top: -5%;
speedy = {
}
class = 'tmbox-speedy',
 
image = 'Ambox warning pn.svg'
 
},
 
delete = {
/* TAB MODIFICATIONS */
class = 'tmbox-delete',
 
image = 'Ambox warning pn.svg'
/**** VECTOR TABS & VECTOR MENU ****/
},
 
content = {
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
class = 'tmbox-content',
background-color: #200D24 !important;
image = 'Ambox important.svg'
background-image: none !important;
},
border-radius: 4px;
style = {
}
class = 'tmbox-style',
 
image = 'Edit-clear.svg'
 
},
  /*Remove annoying white shit around edges of the tabs*/
move = {
.vector-menu-tabs li
class = 'tmbox-move',
{
image = 'Merge-split-transwiki default.svg'
background-image: none;
},
}
protection = {
 
class = 'tmbox-protection',
  /* remove borders between tabs */
image = 'Semi-protection-shackle-keyhole.svg'
    span {
},
        background: none;
notice = {
 
class = 'tmbox-notice',
        /* move tab text up */
image = 'Information icon4.svg'
        a {
}
            padding-top: 1em;
},
            height: 2.25em;
default              = 'notice',
        }
showInvalidTypeError = true,
 
classes              = {'tmbox'},
    }
allowSmall          = true,
 
imageRightNone      = true,
}
imageEmptyCell      = true,
 
imageEmptyCellStyle  = true,
/* hide "read" tab */
templateCategory     = 'Talk message boxes'
#ca-view {
}
     display: none;
}
}

Revision as of 21:26, 21 May 2021

Documentation for this module may be created at Module:Message box/configuration/doc

--------------------------------------------------------------------------------
--                          Message box configuration                         --
--                                                                            --
-- This module contains configuration data for [[Module:Message box]].        --
--------------------------------------------------------------------------------

return {
	ambox = {
		types = {
			speedy = {
				class = 'ambox-speedy',
				image = 'Ambox warning pn.svg'
			},
			delete = {
				class = 'ambox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'ambox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'ambox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'ambox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'ambox-protection',
				image = 'Semi-protection-shackle-keyhole.svg'
			},
			notice = {
				class = 'ambox-notice',
				image = 'Information icon4.svg'
			}
		},
		default                     = 'notice',
		allowBlankParams            = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
		allowSmall                  = true,
		smallParam                  = 'left',
		smallClass                  = 'mbox-small-left',
		substCheck                  = true,
		classes                     = {'metadata', 'ambox'},
		imageEmptyCell              = true,
		imageCheckBlank             = true,
		imageSmallSize              = '20x20px',
		imageCellDiv                = true,
		useCollapsibleTextFields    = true,
		imageRightNone              = true,
		sectionDefault              = 'article',
		allowMainspaceCategories    = true,
		templateCategory            = 'Article message templates',
	        templateCategoryRequireName = true,
		templateErrorCategory       = 'Article message templates with missing parameters',
		templateErrorParamsToCheck  = {'issue', 'fix', 'subst'},
		removalNotice               = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
	},
	
	cmbox = {
		types = {
			speedy = {
				class = 'cmbox-speedy',
				image = 'Ambox warning pn.svg'
			},
			delete = {
				class = 'cmbox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'cmbox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'cmbox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'cmbox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'cmbox-protection',
				image = 'Semi-protection-shackle-keyhole.svg'
			},
			notice = {
				class = 'cmbox-notice',
				image = 'Information icon4.svg'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'cmbox'},
		imageEmptyCell       = true
	},
	
	fmbox = {
		types = {
			warning = {
				class = 'fmbox-warning',
				image = 'Ambox warning pn.svg'
			},
			editnotice = {
				class = 'fmbox-editnotice',
				image = 'Information icon4.svg'
			},
			system = {
				class = 'fmbox-system',
				image = 'Information icon4.svg'
			}
		},
		default              = 'system',
		showInvalidTypeError = true,
		classes              = {'fmbox'},
		imageEmptyCell       = false,
		imageRightNone       = false
	},
	
	imbox = {
		types = {
			speedy = {
				class = 'imbox-speedy',
				image = 'Ambox warning pn.svg'
			},
			delete = {
				class = 'imbox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'imbox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'imbox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'imbox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'imbox-protection',
				image = 'Semi-protection-shackle-keyhole.svg'
			},
			license = {
				class = 'imbox-license licensetpl',
				image = 'Imbox license.png' -- @todo We need an SVG version of this
			},
			featured = {
				class = 'imbox-featured',
				image = 'Cscr-featured.svg'
			},
			notice = {
				class = 'imbox-notice',
				image = 'Information icon4.svg'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'imbox'},
		imageEmptyCell       = true,
		below                = true,
		templateCategory     = 'File message boxes'
	},
	
	ombox = {
		types = {
			speedy = {
				class = 'ombox-speedy',
				image = 'Ambox warning pn.svg'
			},
			delete = {
				class = 'ombox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'ombox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'ombox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'ombox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'ombox-protection',
				image = 'Semi-protection-shackle-keyhole.svg'
			},
			notice = {
				class = 'ombox-notice',
				image = 'Information icon4.svg'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'ombox'},
		allowSmall           = true,
		imageEmptyCell       = true,
		imageRightNone       = true
	},
	
	tmbox = {
		types = {
			speedy = {
				class = 'tmbox-speedy',
				image = 'Ambox warning pn.svg'
			},
			delete = {
				class = 'tmbox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'tmbox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'tmbox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'tmbox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'tmbox-protection',
				image = 'Semi-protection-shackle-keyhole.svg'
			},
			notice = {
				class = 'tmbox-notice',
				image = 'Information icon4.svg'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'tmbox'},
		allowSmall           = true,
		imageRightNone       = true,
		imageEmptyCell       = true,
		imageEmptyCellStyle  = true,
		templateCategory     = 'Talk message boxes'
	}
}