Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
mNo edit summary
 
No edit summary
 
Line 1: Line 1:
  +
Tooltip for items in {{t|Lootbox}} that do not have Wowpedia pages yet, mostly for style benefit.
#content {
 
background: #333;
 
border: 1px solid #aaa;
 
color: #EEEEEE;
 
}
 
body {
 
background: rgb(30,30,30);
 
color: #eee;
 
}
 
table {
 
background: inherit;
 
color: inherit;
 
}
 
a {
 
color: #70b8ff;
 
background: none;
 
}
 
a:visited {
 
color: #7078ff;
 
}
 
a:active {
 
color: orange;
 
}
 
a.stub {
 
color: #aa2233;
 
}
 
a.new, #p-personal a.new {
 
color: #f05048;
 
}
 
a.new:visited, #p-personal a.new:visited {
 
color: #c06060;
 
}
 
img {
 
border: none;
 
}
 
hr {
 
color: #aaa;
 
background-color: #aaa;
 
border: 0;
 
}
 
h1, h2, h3, h4, h5, h6 {
 
color: #f8f8f8;
 
background: none;
 
border-bottom: 1px solid #888888;
 
}
 
h3, h4, h5, h6 {
 
border-bottom: none;
 
}
 
fieldset {
 
border: 1px solid #2f6fab;
 
}
 
form {
 
border: none;
 
}
 
abbr, acronym, .explain {
 
color: inherit;
 
border-bottom: 1px dotted;
 
}
 
code {
 
background-color: #191919;
 
}
 
pre {
 
border: 1px dashed #6fafeb;
 
background-color: #2c2c2c;
 
color: #eee;
 
}
 
#contentSub, #contentSub2 {
 
color: #7d7d7d;
 
}
 
.usermessage {
 
background-color: #ffce7b;
 
border: 1px solid #ffa500;
 
color: black;
 
}
 
.error {
 
color: red;
 
}
 
.errorbox, .successbox {
 
border: 2px solid;
 
margin-bottom: 2em;
 
color: #000;
 
}
 
.errorbox {
 
border-color: red;
 
background-color: #fff2f2;
 
}
 
.successbox {
 
border-color: green;
 
background-color: #dfd;
 
}
 
.errorbox h2, .successbox h2 {
 
border: none;
 
}
 
   
  +
Usage:
#catlinks {
 
  +
:Used by {{t|Lootbox/Row}} automatically if the item does not exist on Wowpedia
border: 1px solid #000000;
 
  +
:Can be used directly: {{t|Lootbox/Missing|Item Name}}
background-color: #202020;
 
}
 
#toc,
 
.toc,
 
.mw-warning {
 
border: 1px solid black;
 
background-color: #282828;
 
}
 
#toc h2,
 
.toc h2 {
 
border: none;
 
}
 
div.floatright, table.floatright {
 
border: 0;
 
}
 
div.floatleft, table.floatleft {
 
border: 0;
 
}
 
div.thumb {
 
border-style: solid;
 
border-color: transparent;
 
}
 
div.thumb div {
 
border: 1px solid #ccc;
 
background-color: #393939;
 
}
 
div.thumb div a img {
 
border: 1px solid #666;
 
}
 
div.thumb div div.thumbcaption {
 
border: none;
 
}
 
div.magnify {
 
border: none !important;
 
background: none !important;
 
}
 
div.magnify a, div.magnify img {
 
border: none !important;
 
background: none !important;
 
}
 
.toccolours {
 
border: 1px solid #aaa;
 
background-color: #f9f9f9;
 
}
 
div.townBox {
 
background: white;
 
border: 1px solid gray;
 
}
 
div.townBox dl dt {
 
background: none;
 
}
 
div.townBox dl dd {
 
background-color: #f3f3f3;
 
}
 
.special li .comment {
 
color: #bbbbbb;
 
}
 
.autocomment {
 
color: gray;
 
}
 
#pagehistory li {
 
border: 1px solid white;
 
}
 
#pagehistory li.selected {
 
background-color: #484048;
 
border: 1px dashed #aaa;
 
}
 
table.diff, td.diff-otitle, td.diff-ntitle {
 
background-color: black;
 
}
 
td.diff-addedline {
 
background: #030;
 
}
 
td.diff-deletedline {
 
background: #220;
 
}
 
td.diff-context {
 
background: #333;
 
}
 
span.diffchange {
 
color: red;
 
}
 
#bodyContent a.external,
 
#bodyContent a[href ^="gopher://"] {
 
background: url(external.png) center right no-repeat;
 
}
 
#bodyContent a[href ^="https://"],
 
.link-https {
 
background: url(lock_icon.gif) center right no-repeat;
 
}
 
#bodyContent a[href ^="mailto:"],
 
.link-mailto {
 
background: url(mail_icon.gif) center right no-repeat;
 
}
 
#bodyContent a[href ^="news://"] {
 
background: url(news_icon.png) center right no-repeat;
 
}
 
#bodyContent a[href ^="ftp://"],
 
.link-ftp {
 
background: url(file_icon.gif) center right no-repeat;
 
}
 
#bodyContent a[href ^="irc://"],
 
.link-irc {
 
background: url(discussionitem_icon.gif) center right no-repeat;
 
padding-right: 18px;
 
}
 
#bodyContent a.extiw,
 
#bodyContent a.extiw:active {
 
color: #68e;
 
}
 
#bodyContent a.external {
 
color: #68e;
 
}
 
#bodyContent .plainlinks a {
 
background: none !important;
 
}
 
.portlet {
 
border: none;
 
}
 
.portlet h5 {
 
background: transparent;
 
}
 
.portlet h6 {
 
background: #ffae2e;
 
border: 1px solid #2f6fab;
 
border-style: solid solid none solid;
 
}
 
.pBody {
 
background-color: #333;
 
border-collapse: collapse;
 
border: 1px solid #aaa;
 
}
 
.portlet ul {
 
list-style-type: square;
 
list-style-image: url(bullet.gif);
 
font-size: 95%;
 
}
 
#p-personal {
 
border: none;
 
background: none;
 
}
 
#p-personal .portlet,
 
#p-personal .pBody {
 
border: none;
 
background: none;
 
}
 
#p-personal ul {
 
border: none;
 
color: #3f9ffb;
 
list-style: none;
 
background: none;
 
}
 
#p-personal li {
 
border: none;
 
color: #3f9ffb;
 
background: none;
 
}
 
#p-personal li a {
 
color: #6080e0;
 
background: none;
 
}
 
li#pt-userpage,
 
li#pt-anonuserpage,
 
li#pt-login {
 
background: url(user.gif) top left no-repeat;
 
}
 
#p-cactions {
 
background: none;
 
border-collapse: collapse;
 
list-style: none;
 
}
 
#p-cactions ul {
 
list-style: none;
 
}
 
#p-cactions li {
 
border: 1px solid #aaa;
 
background: #333;
 
}
 
#p-cactions li.selected {
 
border-color: #fabd23;
 
}
 
#p-cactions li.selected a {
 
background-color: #333;
 
}
 
#p-cactions li a {
 
background-color: #333;
 
color: #6080e0;
 
border: none;
 
}
 
#p-cactions li a:hover {
 
background-color: #333;
 
color: #6080e0;
 
border: none;
 
}
 
#p-cactions .new a {
 
color: #d04040;
 
}
 
#p-cactions .new a:hover {
 
color: #f05048;
 
}
 
#p-cactions .pBody {
 
background-color: transparent;
 
color: inherit;
 
}
 
#t-ispermalink, #t-iscite {
 
color: #999;
 
}
 
#footer {
 
background-color: #333;
 
border-top: 1px solid #fabd23;
 
border-bottom: 1px solid #fabd23;
 
}
 
#preftoc li {
 
color: #000;
 
border: 1px solid #555;
 
border-right-color: #716f64;
 
list-style-type: none;
 
list-style-image: none;
 
}
 
#preftoc li.selected {
 
background-color: #555;
 
border: 1px solid #aaa;
 
border-bottom: none;
 
}
 
#preftoc a,
 
#preftoc a:active {
 
color: #0064f6;
 
}
 
#preferences {
 
border: 1px solid #aaa;
 
}
 
.prefsection {
 
border: none;
 
}
 
.prefsection fieldset {
 
border: 1px solid #aaa;
 
}
 
.prefsection table, .prefsection legend {
 
background-color: #555;
 
}
 
div.prefsectiontip {
 
background-color: #220000;
 
}
 
div#userloginForm form,
 
div#userlogin form#userlogin2 {
 
border: 1px solid #aaa;
 
background-color: #333333;
 
}
 
div#userloginForm table,
 
div#userlogin form#userlogin2 table {
 
background-color: #333333;
 
}
 
div#userlogin .captcha {
 
border: 1px solid #bbb;
 
background-color: white;
 
}
 
/*
 
** IE/Mac fixes, hope to find a validating way to move this
 
** to a separate stylesheet. This would work but doesn't validate:
 
** @import("IEMacFixes.css");
 
*/
 
/* tabs: border on the a, not the div */
 
* > html #p-cactions li { border: none; }
 
* > html #p-cactions li a {
 
border: 1px solid #aaa;
 
border-bottom: none;
 
}
 
* > html #p-cactions li.selected a { border-color: #fabd23; }
 
/* footer icons need a fixed width */
 
* > html #f-poweredbyico,
 
* > html #f-copyrightico { width: 88px; }
 
* > html #bodyContent,
 
* > html #bodyContent pre {
 
overflow-x: auto;
 
width: 100%;
 
padding-bottom: 25px;
 
}
 
   
  +
Template:
/* more IE fixes */
 
  +
<onlyinclude>{{#ifeq:{{{1|}}}||Missing Item Name|<div style="font-size: 0.85em; float: left; width: 18em; min-width: 15em; padding: 0.3em; margin: 5px; color: #fff; background-color: #111; border: 1px #bbb solid; -moz-border-radius: 0.75ex">{{Icon|INV_Misc_QuestionMark|size=4|float=right}}<ul style="margin: 0; padding: 0; list-style: none; list-style-type: none; list-style-image: none;">[[{{#sub:{{{1}}}|0|{{#len:{{{1}}}}}}}]]
/* float/negative margin brokenness */
 
  +
<li style="color: #ffd100;">This item is not yet in Wowpedia.</li>
* html #footer {margin-top: 0;}
 
  +
<li style="color: #ffd100;">Contribute it using the [[Help:Item articles|Item Boilerplate]].</li>
* html #column-content {
 
  +
<li><span class="plainlinks">Look up in: [http://www.wowarmory.com/search.xml?searchQuery={{urlencode:{{{1}}}}}&searchType=items &real;] [http://www.wowhead.com/?search={{urlencode:{{{1}}}}} &omega;] [http://www.thottbot.com/?s={{urlencode:{{{1}}}}} &tau;] [http://wow.allakhazam.com/search.html?q={{urlencode:{{{1}}}}} &alpha;]</span></li>
display: inline;
 
  +
</ul></div>}}</onlyinclude>
margin-bottom: 0;
 
}
 
* html div.editsection { font-size: smaller; }
 
#pagehistory li.selected { position: relative; }
 
   
  +
[[Category:WoW utility templates|Lootbox Missing Tooltip]]
/* Mac IE 5.0 fix; floated content turns invisible */
 
* > html #column-content {
 
float: none;
 
}
 
* > html #column-one {
 
position: absolute;
 
left: 0;
 
top: 0;
 
}
 
* > html #footer {
 
margin-left: 13.2em;
 
}
 
.not-patrolled {
 
border-left: 4px solid red;
 
background: inherit;
 
border-top: 1px solid transparent;
 
border-bottom: 1px solid transparent;
 
}
 
abbr.unpatrolled {
 
color: #7FFF00;
 
}
 
span.searchmatch {
 
color: red;
 
}
 
span.updatedmarker {
 
color: black;
 
background-color: #0f0;
 
}
 
span.newpageletter {
 
color: black;
 
background-color: yellow;
 
}
 
span.minoreditletter {
 
color: black;
 
background-color: #c5ffe6;
 
}
 
table.gallery {
 
background: transparent;
 
}
 
div.gallerybox div.thumb {
 
border: 1px solid #777;
 
background-color: #1f1f1f;
 
}
 
.previewnote {
 
color: #c00;
 
border-bottom: 1px solid #aaa;
 
}
 
.editExternally {
 
border: 1px solid gray;
 
background-color: #ffffff;
 
}
 
.editExternallyHelp {
 
color: gray;
 
}
 
li span.deleted, span.history-deleted {
 
color: #888;
 
}
 
table.mw_metadata {
 
border: none;
 
border-collapse: collapse;
 
}
 
table.mw_metadata td, table.mw_metadata th {
 
border: 1px solid #888888;
 
}
 
table.mw_metadata th {
 
background-color: #444444;
 
}
 
table.mw_metadata td {
 
background-color: #444444;
 
}
 
ul#filetoc {
 
border: 1px solid #000000;
 
background-color: #282828;
 
}
 
/* Classes for article validation */
 
 
table.revisionform_default {
 
border: 1px solid #000000;
 
}
 
table.revisionform_focus {
 
border: 1px solid #000000;
 
background-color:#00BBFF;
 
}
 
tr.revision_tr_default {
 
background-color:#EEEEEE;
 
}
 
tr.revision_tr_first {
 
background-color:#DDDDDD;
 
}
 
p.revision_saved {
 
color: green;
 
}
 
#mw_trackbacks {
 
border: solid 1px #bbbbff;
 
background-color: #eeeeff;
 
}
 
#allmessagestable th {
 
background-color: #02023f;
 
}
 
#allmessagestable tr.orig {
 
background-color: #3f0202;
 
}
 
#allmessagestable tr.new {
 
background-color: #023f02;
 
}
 
#allmessagestable tr.def {
 
background-color: #303033;
 
}
 
div.noarticletext {
 
border: 1px solid #ccc;
 
background: #333333;
 
}
 
div#searchTargetContainer {
 
background: white;
 
}
 
 
div#searchTarget {
 
background: #F0F0F0;
 
border: solid 1px blue;
 
}
 
div#searchTarget ul li {
 
list-style: none;
 
}
 
div#searchTarget ul li:before {
 
color: orange;
 
content: "\00BB \0020";
 
}
 
.mw-arr-r {
 
background-image: url('Icon-next-12x12.png');
 
background-repeat: no-repeat;
 
}
 
 
.mw-arr-l {
 
background-image: url('Icon-back-12x12.png');
 
background-repeat: no-repeat;
 
}
 
 
.mw-arr-d,
 
.mw-sort-desc {
 
background-image: url('Icon-down-12x12.png');
 
background-repeat: no-repeat;
 
}
 
 
.mw-arr-u,
 
.mw-sort-asc {
 
background-image: url('Icon-up-12x12.png');
 
background-repeat: no-repeat;
 
}
 
/* Redirect pages */
 
.redirectMsg {
 
background-image: url('Icon-redirect-48x48.png');
 
background-repeat: no-repeat;
 
}
 

Revision as of 15:22, 20 October 2010

Tooltip for items in {{Lootbox}} that do not have Wowpedia pages yet, mostly for style benefit.

Usage:

Used by {{Lootbox/Row}} automatically if the item does not exist on Wowpedia
Can be used directly: {{Lootbox/Missing|<Item Name>}}

Template: Missing Item Name