Difference between revisions of "Template:Infobox website"
(28 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {| | + | <table style="border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em; width:22em"> |
− | | | + | {{#if:{{{title|}}}|<caption style="font-size: 125%; font-weight: bold; padding: 0.2em; text-align: center;">[[title::{{{titlewebsite|}}}|]]{{{title|}}}</caption>}} |
− | + | {{#if:{{{image|}}}|<tr><td colspan="2">[[File:{{{image|}}}|250px|frameless|center]]</td></tr>}} | |
− | {{#if:{{{ | + | {{#if:{{{type|}}}|<tr><th scope="row" style="vertical-align: top; text-align: left;"><div style="padding:0.1em 0;line-height:1.2em;">Type of site</div></th><td>{{#set: |
− | |- | + | |typewebsite={{{type|}}}|+sep=, }}{{{type|}}}</td></tr>}} |
− | | | + | {{#if:{{{launched|}}}|<tr><th scope="row" style="vertical-align: top; text-align: left;"><div style="padding:0.1em 0;line-height:1.2em;">Launched</div></th><td>[[launched::{{{launched|}}}|]]{{{launched|}}}</td></tr>}} |
− | | {{{ | + | {{#if:{{{url|}}}|<tr><th scope="row" style="vertical-align: top; text-align: left;"><div style="padding:0.1em 0;line-height:1.2em;">URL</div></th><td>[[url::{{{url|}}}|]][https://{{{url|}}} {{{url|}}}]</td></tr>}} |
− | }} | + | {{#if:{{{facebook|}}}|<tr><th scope="row" style="vertical-align: top; text-align: left;"><div style="padding:0.1em 0;line-height:1.2em;">[[File:Facebookico.png|16px|frameless|left]] Facebook</div></th><td>[[facebook::{{{facebook|}}}|]][https://facebook.com/{{{facebook|}}}/ {{{facebook|}}}]</td></tr>}} |
− | |- | + | {{#if:{{{twitter|}}}|<tr><th scope="row" style="vertical-align: top; text-align: left;"><div style="padding:0.1em 0;line-height:1.2em;">[[File:Twitterico.png|16px|frameless|left]] Twitter</div></th><td>[[twitter::{{{twitter|}}}|]][https://twitter.com/{{{twitter|}}} {{{twitter|}}}]</td></tr>}} |
− | | | + | </table> |
− | | {{{ | ||
− | |} |