Template:Subtype infocard: Difference between revisions

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.
mNo edit summary
(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.)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
 
  --><span id="{{{name}}}"></span><!--
   --><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-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><!--
1,621

edits