Difference between revisions of "Template talk:Info Small"
Jump to navigation
Jump to search
| Line 10: | Line 10: | ||
</pre> | </pre> | ||
| − | + | This is the table-style version: | |
| + | <pre> | ||
<table style="float:right; margin-left:10px; font-size:small;"> | <table style="float:right; margin-left:10px; font-size:small;"> | ||
{{#if:{{{ntb|}}}||<tr><td><hr/></td></tr>}} | {{#if:{{{ntb|}}}||<tr><td><hr/></td></tr>}} | ||
| Line 17: | Line 18: | ||
{{#if:{{{wpl|}}}|<div>{{{wpl}}}</div>|}}{{#if:{{{web|}}}|<div>{{{web}}}</div>|}}<div><hr/></div></th></tr> | {{#if:{{{wpl|}}}|<div>{{{wpl}}}</div>|}}{{#if:{{{web|}}}|<div>{{{web}}}</div>|}}<div><hr/></div></th></tr> | ||
</table><noinclude>{{doc2}}</noinclude> | </table><noinclude>{{doc2}}</noinclude> | ||
| + | </pre> | ||
Revision as of 13:15, 9 July 2019
This is the original, made only with divs:
<div style="position:relative; top:-16px; float:right; text-align:center; font-size:small; border-top:{{#if:{{{ntb|}}}|none;|1px solid #808080;}} border-bottom:1px solid #808080; padding:0.5em 0 0.2em 0.2em; margin-left:0.3em;">
{{#if:{{{parent|}}}|<div style="border-bottom:1px solid #808080; margin-bottom:0.3em; padding-bottom:0.3em;">{{{parent}}}{{#if:{{{pwpl|}}}|<div>{{{pwpl}}}</div>|}}{{#if:{{{pweb|}}}|<div>{{{pweb}}}</div>|}}</div>|}}
<div>{{{img}}}</div>
{{#if:{{{wpl|}}}|<div>{{{wpl}}}</div>|}}
{{#if:{{{web|}}}|<div>{{{web}}}</div>|}}
</div><noinclude>{{doc2}}</noinclude>
This is the table-style version:
<table style="float:right; margin-left:10px; font-size:small;">
{{#if:{{{ntb|}}}||<tr><td><hr/></td></tr>}}
{{#if:{{{parent|}}}|<tr><th style="font-weight:normal; padding:0;">{{{parent}}}{{#if:{{{pwpl|}}}|<div>{{{pwpl}}}</div>|}}{{#if:{{{pweb|}}}|<div>{{{pweb}}}</div>|}}<div><hr/></div></th></tr>|}}
<tr><th style="font-weight:normal; padding:0;">{{{img}}}
{{#if:{{{wpl|}}}|<div>{{{wpl}}}</div>|}}{{#if:{{{web|}}}|<div>{{{web}}}</div>|}}<div><hr/></div></th></tr>
</table><noinclude>{{doc2}}</noinclude>