Difference between revisions of "Template:MajorRef"
From The Viking Age Compendium
m |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="float:left; border:1px solid #cef2e0; background: #f5fffa; width: | + | <!-- Mobile View --><div id="mf-HideOnDesktop" style="float:left; border:1px solid #cef2e0; background: #f5fffa; width:100%;"> |
<div style="float:left; width:110px; overflow:hidden;">[[File:Book.png|110px|frameless|left|link=:Category:{{{1}}}|Major Reference Work]]</div> | <div style="float:left; width:110px; overflow:hidden;">[[File:Book.png|110px|frameless|left|link=:Category:{{{1}}}|Major Reference Work]]</div> | ||
− | <div style="float:left | + | <div style="float:left; overflow:hidden;">This article is primarily based on the work of:<br>{{ListRef|{{{1}}}}} {{#if:{{{2|}}}|{{ListRef|{{{2}}}}} }}</div> |
</div> | </div> | ||
− | <br> | + | <!-- Desktop View --><div id="mf-HideOnMobile" style="float:left; border:1px solid #cef2e0; background: #f5fffa; width: calc(100% - 222px);"> |
+ | <div style="float:left; width:60px; overflow:hidden;">[[File:Book.png|110px|frameless|left|link=:Category:{{{1}}}|Major Reference Work]]</div> | ||
+ | <div style="float:left; width: calc(100% - 65px); overflow:hidden;">This article is primarily based on the work of:<br>{{ListRef|{{{1}}}}} {{#if:{{{2|}}}|{{ListRef|{{{2}}}}} }}</div> | ||
+ | </div> | ||
+ | <div style="clear: left; padding: 5px;"></div> | ||
<includeonly>[[Category:{{{1}}}]]</includeonly> | <includeonly>[[Category:{{{1}}}]]</includeonly> |