Difference between revisions of "Template:Infobox"

From The Wiki
Jump to navigation Jump to search
(Replaced content with "{| style="float:right;border:1px solid black" | My fantastic infobox |- | More info |}")
Tag: Replaced
 
(53 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="float:right;border:1px solid black"
+
<div class="infobox">
| My fantastic infobox
+
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
|-
+
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
| More info
+
 
|}
+
<table style="width: 100%; border-bottom: 1px solid #ddd;">
 +
{{#if:{{{dob|}}}|<tr>
 +
    <th>Birthday</th>
 +
    <td>{{{dob}}}</td>
 +
</tr>}}{{#if:{{{Location|}}}|<tr>
 +
    <th>Location</th>
 +
    <td>{{{Location}}}</td>
 +
</tr>}}{{#if:{{{partner|}}}|<tr>
 +
    <th>Partner(s)</th>
 +
    <td>{{{partner}}}</td>
 +
</tr>}}{{#if:{{{Aliases|}}}|<tr>
 +
    <th> Aliases</th>
 +
    <td>{{{Aliases}}}</td>
 +
</tr>}}{{#if:{{{Favorite Games|}}}|<tr>
 +
    <th> Favorite Games</th>
 +
    <td>{{{Favorite Games}}}</td>
 +
</tr>}}{{#if:{{{Telegram|}}}|<tr>
 +
    <th>[[File:telegramicon.webp|16px]] Telegram</th>
 +
    <td>[http://t.me/{{{Telegram}}} {{{Telegram}}}]</td>
 +
</tr>}}{{#if:{{{slname |}}}|<tr>
 +
    <th>[[File:slicon.png|16px]] SL Handle</th>
 +
    <td>[http://my.secondlife.com/{{{slname}}} {{{slname}}}]</td>
 +
</tr>}}{{#if:{{{Phone|}}}|<tr>
 +
    <th>Phone</th>
 +
    <td>{{{Phone}}}</td>
 +
</tr>}}</table>
 +
</div>

Latest revision as of 02:10, 21 May 2022

Infobox