Template:PlayerLoreContent: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
<br/>
<br/>


<div style="float: right; width: 300px; border: 1px solid #aaa; background: #f9f9f9; padding: 10px; margin: 0 0 10px 10px; font-size: 90%; box-shadow: 2px 2px 5px rgba(0,0,0,0.1);">
<div style="max-width: 1000px; margin: 0 auto; padding: 0 20px;">

<table style="width: 100%; line-height: 1.5em; border-collapse: collapse;">
<div style="float: right; width: 310px; border: 1px solid #be2d2d; background: #ffffff; padding: 0; margin: 0 0 20px 20px; box-shadow: 3px 3px 8px rgba(0,0,0,0.1);">
<tr>
<td colspan="2" style="text-align: center; padding-bottom: 10px;">
<div style="text-align: center; padding: 15px; background-color: #fff;">
{{#switch: {{{doc_type|}}}
{{#switch: {{{doc_type|}}}
| Lore = [[File:Lore_Icon.png|250px]]
| Lore = [[File:Lore_Icon.png|250px]]
Line 22: Line 22:
| #default = [[File:Default_Fiction_Icon.png|250px]]
| #default = [[File:Default_Fiction_Icon.png|250px]]
}}
}}
</td>
</div>
<div style="background: #be2d2d; color: white; text-align: center; padding: 6px; font-weight: bold; font-size: 110%;">Document Info</div>
</tr>
<tr><th colspan="2" style="background: #be2d2d; color: white; text-align: center; padding: 4px;">Document Info</th></tr>
<div style="padding: 10px;">
<table style="width: 100%; border-collapse: collapse; line-height: 1.5em; font-size: 95%; table-layout: fixed;">
<tr><td style="border-bottom: 1px solid #eee; padding: 4px;">'''Author:'''</td><td style="border-bottom: 1px solid #eee; padding: 4px;">{{{author|Unknown Character}}}</td></tr>
<tr><td style="border-bottom: 1px solid #eee; padding: 4px;">'''Type:'''</td><td style="border-bottom: 1px solid #eee; padding: 4px;">{{{doc_type|}}}</td></tr>
<tr><td style="width: 40%; border-bottom: 1px solid #eee; padding: 6px 4px; color: #555; vertical-align: top;">'''Author:'''</td><td style="width: 60%; border-bottom: 1px solid #eee; padding: 6px 4px; vertical-align: top;">{{{author|Unknown Character}}}</td></tr>
<tr><td style="border-bottom: 1px solid #eee; padding: 6px 4px; color: #555; vertical-align: top;">'''Type:'''</td><td style="border-bottom: 1px solid #eee; padding: 6px 4px; vertical-align: top;">{{{doc_type|}}}</td></tr>
{{#if: {{{location|}}} |
<tr><td style="border-bottom: 1px solid #eee; padding: 4px;">'''Location:'''</td><td style="border-bottom: 1px solid #eee; padding: 4px;">{{{location}}}</td></tr>
{{#if: {{{location|}}} | <tr><td style="border-bottom: 1px solid #eee; padding: 6px 4px; color: #555; vertical-align: top;">'''Location:'''</td><td style="border-bottom: 1px solid #eee; padding: 6px 4px; vertical-align: top;">{{{location}}}</td></tr> }}
<tr><td style="border-bottom: 1px solid #eee; padding: 6px 4px; color: #555; vertical-align: top;">'''Date:'''</td><td style="border-bottom: 1px solid #eee; padding: 6px 4px; vertical-align: top;">{{{eyear}}}-{{{emonth}}}-{{{eday}}}</td></tr>
}}
<tr><td style="border-bottom: 1px solid #eee; padding: 4px;">'''Elanthian Date:'''</td><td style="border-bottom: 1px solid #eee; padding: 4px;">{{{eyear}}}-{{{emonth}}}-{{{eday}}}</td></tr>
<tr><td style="border-bottom: 1px solid #eee; padding: 6px 4px; color: #555; vertical-align: top;">'''Submitted:'''</td><td style="border-bottom: 1px solid #eee; padding: 6px 4px; vertical-align: top;">{{#time: F j, Y | {{{date_submitted|now}}} }}</td></tr>
<tr><td style="border-bottom: 1px solid #eee; padding: 4px;">'''Submitted:'''</td><td style="border-bottom: 1px solid #eee; padding: 4px;">{{#time: F j, Y | {{{date_submitted|now}}} }}</td></tr>
<tr><td style="padding: 6px 4px; color: #555; font-style: italic; vertical-align: top;">Word Count:</td><td style="padding: 6px 4px; font-style: italic; vertical-align: top;">{{#invoke:WordCount|count|{{{content|}}} }} words</td></tr>
</table>
<tr style="display:none;"><td>Clean User:</td><td>{{{clean_user|}}}</td></tr>
</div>
<tr><td style="padding: 4px;">'''Word Count:'''</td><td style="padding: 4px;">{{#invoke:WordCount|count|{{{content|}}} }} words</td></tr>
</table>
</div>
</div>


<div class="fiction-summary" style="margin-bottom: 20px;">
<div class="fiction-summary" style="margin-bottom: 25px; padding: 15px; background: #f9f9f9; border: 1px solid #ddd; border-left: 4px solid #be2d2d;">
<div style="font-weight: bold; border-bottom: 1px solid #ccc; margin-bottom: 5px;">Summary</div>
<div style="font-weight: bold; margin-bottom: 5px; color: #be2d2d; text-transform: uppercase; font-size: 90%;">Summary</div>
{{{summary|No summary provided.}}}
<div style="line-height: 1.5;">{{{summary|No summary provided.}}}</div>
</div>
</div>


<div class="fiction-content" style="clear: both; border-top: 2px solid #be2d2d; padding-top: 15px;">
<div class="fiction-content" style="clear: both; padding-top: 10px;">
<h2 style="border-bottom: 2px solid #be2d2d;">Content</h2>
== Content ==
<div style="line-height: 1.6; padding: 10px 0;">
{{{content|}}}
{{{content|}}}
</div>
</div>
</div>


[[Category:Player Lore]]
</div> [[Category:Player Lore]]
[[Category:{{{doc_type|}}}]]
[[Category:{{{doc_type|}}}]]
</includeonly>
</includeonly>

Revision as of 22:47, 20 December 2025