Template:Subtype infocard: Difference between revisions

Jump to navigation Jump to search
m
Great idea! I believe we can just move this ID into one of the existing elements though, to avoid adding extra space between
(Added automatic anchors to the template, so that we can, for example, link Callings#Apostle even if Apostle is a template rather than a subheading. I *think* I didn't break anything.)
m (Great idea! I believe we can just move this ID into one of the existing elements though, to avoid adding extra space between)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
   --><span id="{{{name}}}"></span><!--
   --><div id="{{{name}}}" class="subtype-infobox" style="display:inline-flex; width:1460px; flex-wrap:wrap; background: var(--qud-bg-color-darker); border-radius:6px; font-family:'Source Code Pro'; font-weight:700; box-shadow:1px 1px 5px rgba(0,0,0,0.8); margin:1.2em 0;"><!--
  --><div class="subtype-infobox" style="display:inline-flex; width:1460px; flex-wrap:wrap; background: var(--qud-bg-color-darker); border-radius:6px; font-family:'Source Code Pro'; font-weight:700; box-shadow:1px 1px 5px rgba(0,0,0,0.8); margin:1.2em 0;"><!--
     --><div class="subtype-title" style="display:flex; padding: 0.2em; padding-left: 2em; flex:0 0 100%; box-sizing:border-box; font-size: 1.4em; border-top-right-radius:inherit; border-top-left-radius:inherit; background-color:#0a2726;"><div style="flex-grow:1;">{{{name}}}</div><div style="font-size:0.9em;color:var(--qud-color-m-dark);padding-right:0.7em;">build code: {{{buildcode|?}}}</div></div><!--
     --><div class="subtype-title" style="display:flex; padding: 0.2em; padding-left: 2em; flex:0 0 100%; box-sizing:border-box; font-size: 1.4em; border-top-right-radius:inherit; border-top-left-radius:inherit; background-color:#0a2726;"><div style="flex-grow:1;">{{{name}}}</div><div style="font-size:0.9em;color:var(--qud-color-m-dark);padding-right:0.7em;">build code: {{{buildcode|?}}}</div></div><!--
     --><div class="subtype-image" style="display:flex; flex-wrap:wrap; width:160px; height:240px; margin-right: 2em;"><!--
     --><div class="subtype-image" style="display:flex; flex-wrap:wrap; width:160px; height:240px; margin-right: 2em;"><!--

Navigation menu