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;
},
        font-size: 16px;
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 = {
 
class = 'ambox-content',
#mw-page-base {background: #0A0A0A}
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 {
notice = {
color: #d4af37
class = 'ambox-notice',
}
image = 'Information icon4.svg'
 
}
.mw-parser-output a.extiw, .mw-parser-output a.external, .ve-activated #catlinks a, a.new:visited, #p-personal a.new:visited, .mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited{
},
color:#E4A732
default                    = 'notice',
}
allowBlankParams            = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
 
allowSmall                  = true,
a:link{
smallParam                  = 'left',
color: #e4a732;
smallClass                  = 'mbox-small-left',
text-decoration: none;
substCheck                  = true,
}
classes                    = {'metadata', 'ambox'},
 
imageEmptyCell              = true,
@media screen {
imageCheckBlank            = true,
    a {
imageSmallSize              = '20x20px',
color: #e4a732;
imageCellDiv                = true,
text-decoration: none !important;
useCollapsibleTextFields    = true,
}
imageRightNone              = true,
a:hover {
sectionDefault              = 'article',
color: #a178a6 !important;
allowMainspaceCategories    = true,
}
templateCategory            = 'Article message templates',
 
        templateCategoryRequireName = true,
a:visited{
templateErrorCategory      = 'Article message templates with missing parameters',
color:#d4af37
templateErrorParamsToCheck  = {'issue', 'fix', 'subst'},
}
removalNotice              = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
 
},
 
/*Edit Gallery Appearance*/
cmbox = {
 
types = {
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)}
speedy = {
 
class = 'cmbox-speedy',
 
image = 'Ambox warning pn.svg'
/*Edit Table Appearance*/
},
table.wikitable > ,tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td{border: 0 !important;
delete = {
border-radius: 4px !important;
class = 'cmbox-delete',
padding: 3px !important;}
image = 'Ambox warning pn.svg'
table.wikitable {
},
border: 0;
content = {
}
class = 'cmbox-content',
th {
image = 'Ambox important.svg'
border: 0;
},
background-color: rgba(255,255,255,0.0);
style = {
}
class = 'cmbox-style',
tr{
image = 'Edit-clear.svg'
border: 0;
},
}
move = {
 
class = 'cmbox-move',
 
image = 'Merge-split-transwiki default.svg'
/*Edit UI Appearance*/
},
#wpSaveWidget{
protection = {
background-color: #e4a732;
class = 'cmbox-protection',
border: 0;
image = 'Semi-protection-shackle-keyhole.svg'
border-radius: 4px;
},
}
notice = {
 
class = 'cmbox-notice',
 
image = 'Information icon4.svg'
/*Edit DIV Appearance*/
}
 
},
.catlinks{
default              = 'notice',
background-color: rgba(255,255,255,0.3);
showInvalidTypeError = true,
border: 0;
classes              = {'cmbox'},
border-radius: 4px;
imageEmptyCell      = true
padding-left: 5%;
},
}
div.thumbinner, table.wikitable, tbody, .toc, .mw-warning, .toccolours {
fmbox = {
    border: 0;
types = {
    background-color: rgba(255,255,255,0.4) !important;
warning = {
    padding: 5px;
class = 'fmbox-warning',
    font-size: 95%;
image = 'Ambox warning pn.svg'
    border-radius: 4px;
},
    color: #200D24;
editnotice = {
}
class = 'fmbox-editnotice',
 
image = 'Information icon4.svg'
#content {background-color: #200D24}
},
#mw-content-text {background-color: #200D24;
system = {
color: #EFF6F8;}
class = 'fmbox-system',
.mw-editform .editOptions{
image = 'Information icon4.svg'
background-color: rgba(255,255,255,0.4) !important;
}
border: 0 !important;
},
border-radius: 4px !important;
default              = 'system',
}
showInvalidTypeError = true,
 
classes              = {'fmbox'},
.mw-body .firstHeading {
imageEmptyCell      = false,
color: #fefde2;
imageRightNone      = false
font-family: 'Roboto Mono', monospace;
},
text-shadow:
  -.5px -.5px 0 #000,
imbox = {
    .5px -.5px 0 #000,
types = {
    -.5px .5px 0 #000,
speedy = {
    .5px .5px 0 #000;
class = 'imbox-speedy',
}
image = 'Ambox warning pn.svg'
 
},
div#mw-panel{position:fixed}
delete = {
 
class = 'imbox-delete',
/*Edit List Appearance*/
image = 'Ambox warning pn.svg'
 
},
div.vectorTabs ul li {background-color: #200D24;
content = {
border: 0;
class = 'imbox-content',
}
image = 'Ambox important.svg'
 
},
div.vectorTabs li{
style = {
border-radius: 4px 4px 0px 0px
class = 'imbox-style',
}
image = 'Edit-clear.svg'
 
},
 
move = {
div.vectorTabs span{
class = 'imbox-move',
background-image: none;
image = 'Merge-split-transwiki default.svg'
background-color: transparent;
},
}
protection = {
 
class = 'imbox-protection',
div.vectorTabs li.selected {background-color: #200D24;
image = 'Semi-protection-shackle-keyhole.svg'
border: 0;
},
}
license = {
 
class = 'imbox-license licensetpl',
 
image = 'Imbox license.png' -- @todo We need an SVG version of this
/*Edit Global Text Appearance*/
},
div#mw-panel div.portal
featured = {
h3 {
class = 'imbox-featured',
    display: block;
image = 'Cscr-featured.svg'
    font-size: 1.17em;
},
color: #fefde2;
notice = {
    -webkit-margin-before: 3px;
class = 'imbox-notice',
    -webkit-margin-after: 3px;
image = 'Information icon4.svg'
    -webkit-margin-start: 0px;
}
    -webkit-margin-end: 0px;
},
    font-weight: bold;
default              = 'notice',
text-align: center;
showInvalidTypeError = true,
}
classes              = {'imbox'},
 
imageEmptyCell      = true,
.mw-body{border:none;
below                = true,
color: #fff;
templateCategory    = 'File message boxes'
}
},
 
h1, h2, h3, h4, h5 {
ombox = {
font-family: 'Roboto Mono', monospace !important;
types = {
font-weight: bold;
speedy = {
color: #EFF6F8;
class = 'ombox-speedy',
}
image = 'Ambox warning pn.svg'
 
},
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
delete = {
  font-family: 'Roboto Mono', monospace !important;
class = 'ombox-delete',
font-weight: bold;
image = 'Ambox warning pn.svg'
color: #EFF6F8;
},
}
content = {
 
class = 'ombox-content',
/* VECTOR TABS */
image = 'Ambox important.svg'
 
},
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3, .vector-menu-tabs li, .vector-menu-tabs li a{
style = {
background-image: none;
class = 'ombox-style',
background-color: #200D24 !important;
image = 'Edit-clear.svg'
border-radius: 10px 10px 0px 0px;
},
color: #e4A732;
move = {
 
class = 'ombox-move',
}
image = 'Merge-split-transwiki default.svg'
 
},
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited{
protection = {
color: #f5f5f5 !important;
class = 'ombox-protection',
}
image = 'Semi-protection-shackle-keyhole.svg'
 
},
.vector-menu-tabs .selected{
notice = {
background: rgba(255, 255, 255, 0.3);
class = 'ombox-notice',
border-radius: 10px 10px 0px 0px;
image = 'Information icon4.svg'
}
}
 
},
/* SIDEBAR */
default              = 'notice',
.portal .body ul, .vector-menu-portal .body ul a, .portal .body ul, .vector-menu-portal .body ul a:visited{
showInvalidTypeError = true,
color: #e4A732}
classes              = {'ombox'},
 
allowSmall          = true,
 
imageEmptyCell      = true,
/* OTHER Configurations */
imageRightNone      = true
 
},
body.page-Wiki_Landing.action-view h1.firstHeading, body.page-Wiki_Landing.action-submit h1.firstHeading {display: none;
margin-top: -5%;}
tmbox = {
 
types = {
.mw-footer li {
speedy = {
    color: #fff !important;
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'
}
}
}

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'
	}
}