Template:Favorites
{{#vardefine:pages|0}}
debug=0 |modifiedby=Flyingidiot |uses=Template:Fav |mode=userformat |category = Flyingidiot's favorites |format=, %TITLE% , , |resultsfooter = {{#vardefine:pages|%PAGES%}} ({{#var:pages}} pages) |inlinetext= • }}
<css>
- inline-list {
border: none; margin: 2em; width: 80%; padding: 5px; font-family: Verdana, sans-serif; display: inline; }
- inline-list p {
display: inline; }
- inline-list ul, #inline-list li {
display: inline; margin: 0; padding: 0.1em; color: #339;
text-indent: -1em;
}
@-webkit-keyframes move {
0% { position: relative; right: -100%; }
10% {
position: relative; right: 1%; } 25% { position: relative; right: 100%; } 40% { position: relative; right: 300%; }
60% {
position: relative; right: 541%; }
80% {
position: relative; right: 700%; }
100% {
position: relative; right: 950%; }
} .scroller { white-space:nowrap; overflow: visible; font-size:95%; height:20px max-height:100px; padding-bottom:0.8em; -webkit-animation-name: move;
-webkit-animation-duration: 125s; -webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear; position: relative;
right: -500px; top: 0px;
}
.scroller:hover { -webkit-animation-name: move; }
.canbullet { background: red; }
- wrapper {
width:90%; border-left:1px dotted black; overflow:hidden; }
- wrapper:hover {
overflow:auto; } </css>
What's this?
It's for favoriting pages.
How do I fav page?
- Add {{Template:Favorites|yourusername}} to your userpage
- Add {{Template:Fav|yourusername}} (or {{Template:Fav|yourusername|small}} if you like it small) to the talk page of each of your favorite articles
- That's it!
But I don't like the big thing that spans the whole page!
Format it yourself, then.
\n*[[%TITLE%]]
Just copypaste that into your code, so you'd have {{Favorites|yourusername|format=\n*[[%TITLE%]]}}
and you get this nice list
{{#dpl:
debug=0
|modifiedby=Flyingidiot
|uses=Template:Fav
|mode=userformat
|category = Flyingidiot's favorites
|format=, \n*%TITLE%, ,
|resultsfooter = {{#vardefine:pages|%PAGES%}} ({{#var:pages}} pages)
}}
or {{Favorites|yourusername|format=\n*[[%TITLE%|<font style="color:magenta">%TITLE% </font>]]}}
{{#dpl: debug=0 |modifiedby=Flyingidiot |uses=Template:Fav |mode=userformat |category = Flyingidiot's favorites |resultsfooter = {{#vardefine:pages|%PAGES%}} ({{#var:pages}} pages) |format=,\n*%TITLE% , , }}
or even
{{Favorites|yourusername|format=<font color="red">♥</font>[[%TITLE%|<font size="3pt">%TITLE% </font>]]}}
{{#dpl: debug=0 |modifiedby=Flyingidiot |uses=Template:Fav |mode=userformat |category = Flyingidiot's favorites |resultsfooter = {{#vardefine:pages|%PAGES%}} ({{#var:pages}} pages) |format=,♥ %TITLE% , , ♥ }}
Got it?