https://pt.touhouwiki.net/index.php?title=M%C3%B3dulo:Styles&feed=atom&action=historyMódulo:Styles - Histórico de revisões2024-03-28T21:56:12ZHistórico de edições para esta página nesta wikiMediaWiki 1.39.3https://pt.touhouwiki.net/index.php?title=M%C3%B3dulo:Styles&diff=1943&oldid=prevKim Belacqua the Fox: uma edição2013-12-16T14:33:57Z<p>uma edição</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="pt">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Revisão anterior</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revisão das 14h33min de 16 de dezembro de 2013</td>
</tr>
<!-- diff cache key touhouwiki-thwikiPT_:diff::1.12:old-1942:rev-1943 -->
</table>Kim Belacqua the Foxhttps://pt.touhouwiki.net/index.php?title=M%C3%B3dulo:Styles&diff=1942&oldid=prevDennouNeko: 1 revision: updates for most recent version of Scribunto2013-08-08T16:10:47Z<p>1 revision: updates for most recent version of Scribunto</p>
<p><b>Página nova</b></p><div>-- Library containing global coloring and styling used by multiple scripts<br />
<br />
-- dependencies<br />
local common = require("Module:Common")<br />
<br />
-- create global object<br />
local style = {}<br />
<br />
-- naming based on "Navbox" elements<br />
style.main_colors = {<br />
game = {border = '#A88580', title = '#FFC9C2', above = '#FFD1CA', group = '#FFD9D2', subgroup = '#FFE1DA', dark = '#FFEEE8', background = '#FFF4EE'};<br />
music = {border = '#A8A077', title = '#FFF3B4', above = '#FFF6C0', group = '#FFF7C8', subgroup = '#FFF8D0', dark = '#FFFBE4', background = '#FFFBEE'};<br />
printwork = {border = '#9298A8', title = '#DDE6FF', above = '#E1E7FF', group = '#E6E9FF', subgroup = '#EAECFF', dark = '#EDF2FF', background = '#F4F9FF'};<br />
}<br />
<br />
-- function for easy adding of styles to html tags<br />
function style.add(tbl, val)<br />
if common.isset(val) then<br />
local av = tostring(val):gsub("^%s*(.-)%s*$", "%1")<br />
if string.sub(av, -1) ~= ';' then av = av .. ';' end<br />
tbl[#tbl+1] = av<br />
end<br />
end<br />
<br />
return style</div>DennouNeko