Difference between revisions of "Template:Card with description"

From The Fansus
Jump to: navigation, search
(card with description is functional!)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="background: linear-gradient(#FFFEDD, #F9F9F9); border: solid 3px #000000; border-radius: 10px; box-shadow: -3px 3px 2px rgba(0, 0, 0, 0.6); display: inline-block; width: 500px; height: 140px; position: relative; left:50px;"><div style="height: 100px; overflow: hidden; width: 100px; position: relative; right: 30px; top: 5px; border: solid 2px #000000; border-radius: 10px; box-shadow: -3px 3px 2px rgba(0, 0, 0, 0.6);">{{#ifexist: {{{image|}}} | [[{{{image}}}|100px]] | [[File:FNORD.png|100x100px|link=]] }}</div><div style="font-family: 'Philosopher', serif; font-size: 24px; font-weight: 900; height: 24px; line-height: 1; position: absolute; top: 5px; left: 80px;">{{{title}}}</div><div style="height 100px; overflow: hidden; width: 400px; position: absolute; top: 35px; left: 90px; font-family: 'Philosopher', serif; font-size: 14px; font-weight: normal; line-height: 1;">{{{description}}}</div><div style="background: linear-gradient(#D8D8D8, #B5B5B5); display: flex; flex-direction: row; width: 500px; height: 50px; position: relative; bottom: -20px; left: -3px; border-bottom: solid 3px #000000; border-left: solid 3px #000000; border-right: solid 3px #000000; border-radius: 10px; box-shadow: -3px 3px 2px rgba(0, 0, 0, 0.6)">aspects go here???</div></div></includeonly>
+
<includeonly><div style="background-color: #fefffc; border-radius: 10px; box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6); display: inline-block; width: 550px; position: relative; left:50px;">
 +
<div class="paper-texture" style="border-radius: 10px; position: absolute; bottom: 0px; top: 0; right: 0; left: 0; opacity: 0.2; pointer-events: none;"></div>
 +
<div style="height: 90px; margin-bottom: 26px; overflow: hidden; width: 90px; position: relative; right: 30px; top: 5px; border: solid 2px #000000; border-radius: 10px; box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6); transform: rotate(-4deg); z-index: 10;">{{#ifexist: {{{image|}}} | [[{{{image}}}|90x90px]] | [[File:FNORD.png|90x90px|link=]] }}</div>
 +
<div style="font-family: 'Philosopher', serif; font-size: 24px; font-weight: 900; height: 24px; line-height: 1; position: absolute; top: 5px; left: 75px;">{{{title}}}</div>
 +
<div style="height 100px; width: 470px; overflow: hidden; position: absolute; top: 35px; left: 75px; font-family: 'Philosopher', serif; font-size: 18px; font-weight: normal; color: #64A9A4; line-height: 1.1;">{{{description}}}</div>
 +
<div style="background-color: #ddd5be; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; box-sizing: border-box; display: flex; flex-direction: row-reverse; height: 46px; padding: 7px; position: relative;">{{Aspect|{{{Aspect1}}}|{{{quantity}}}|30}}{{#if:{{{Aspect2|}}}|<div style="padding-right: 5px">{{Aspect|{{{Aspect2}}}|{{{quantity2}}}|30}}</div>}}</div>
 +
</div>
 +
</includeonly>
 
<noinclude>
 
<noinclude>
 +
<pre>{{Card with description
 +
| image      =
 +
| title      =
 +
| description =
 +
| Aspect1    =
 +
| quantity    =
 +
| Aspect2    =
 +
| quantity2  =
 +
}}</pre>
 +
 
example card:
 
example card:
 +
{{Card with description
 +
| image      = File:Neville.png
 +
| title      = Neville, an acquaintance
 +
| description = Neville pauses before he speaks, and flinches easily. He laughs whenever he thinks you've made a joke. [You might be able to recruit this acquaintance as a follower.]
 +
| Aspect1    = Knock
 +
| quantity    = 3
 +
| Aspect2    = Moth
 +
| quantity2  = 5
 +
}}
  
stuff here
+
<pre>{{Card with description
 +
| image      =
 +
| title      =
 +
| description =
 +
| Aspect1    =
 +
| quantity    =
 +
}}</pre>
  
testing positoning
 
 
{{Card with description
 
{{Card with description
 
| image      = File:Neville.png
 
| image      = File:Neville.png
 
| title      = Neville, an acquaintance
 
| title      = Neville, an acquaintance
 
| description = Neville pauses before he speaks, and flinches easily. He laughs whenever he thinks you've made a joke. [You might be able to recruit this acquaintance as a follower.]
 
| description = Neville pauses before he speaks, and flinches easily. He laughs whenever he thinks you've made a joke. [You might be able to recruit this acquaintance as a follower.]
 +
| Aspect1    = Knock
 +
| quantity    = 3
 
}}
 
}}
wip</noinclude>
 

Latest revision as of 07:48, 18 July 2018


{{Card with description
| image       =
| title       =
| description =
| Aspect1     =
| quantity    =
| Aspect2     =
| quantity2   =
}}

example card:

FNORD.png
Neville, an acquaintance
Neville pauses before he speaks, and flinches easily. He laughs whenever he thinks you've made a joke. [You might be able to recruit this acquaintance as a follower.]
Knock3
Moth5


{{Card with description
| image       =
| title       =
| description =
| Aspect1     =
| quantity    =
}}
FNORD.png
Neville, an acquaintance
Neville pauses before he speaks, and flinches easily. He laughs whenever he thinks you've made a joke. [You might be able to recruit this acquaintance as a follower.]
Knock3