Template:PlayerLoreContent: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>
This is the Player Lore template.
[[Category:Templates]]
</noinclude><includeonly>
<div style="display:none;">
[[Author::{{{author|Unknown}}}]]
[[Lore Year::{{{eyear|}}}]]
[[Submitted::{{{date_submitted|}}}]]
</div>

{|width="800" style="background-color: #FFFF66; border: 1px solid #FF0000; width:95%; padding:1em; text-align:center; margin-left:auto; margin-right:auto;"
{|width="800" style="background-color: #FFFF66; border: 1px solid #FF0000; width:95%; padding:1em; text-align:center; margin-left:auto; margin-right:auto;"
|rowspan=2|[[Image:Caution.png]]
|rowspan=2|[[Image:Caution.png]]
Line 7: Line 16:
<br/>
<br/>


<div style="float: right; width: 310px; border: 1px solid #be2d2d; background: #ffffff; padding: 0; margin: 0 10% 20px 20px; box-shadow: 3px 3px 8px rgba(0,0,0,0.1);">
<div style="float: right; width: 310px; border: 1px solid #8a0000; background: #ffffff; padding: 0; margin: 0 5% 20px 20px; box-shadow: 2px 2px 5px rgba(0,0,0,0.2);">
<div style="text-align: center; padding: 15px; background-color: #fff;">
<div style="text-align: center; padding: 15px; background-color: #fff;">
{{#switch: {{{doc_type|}}}
{{#switch: {{{doc_type|}}}
Line 21: Line 30:
}}
}}
</div>
</div>
<div style="background: #be2d2d; color: white; text-align: center; padding: 6px; font-weight: bold; font-size: 110%;">Document Info</div>
<div style="background: #8a0000; color: #ffffff; text-align: center; padding: 6px; font-weight: bold; font-size: 110%; border-top: 1px solid #222; border-bottom: 1px solid #222;">Document Info</div>
<div style="padding: 10px;">
<div style="padding: 10px;">
<table style="width: 100%; border-collapse: collapse; line-height: 1.5em; font-size: 95%; table-layout: fixed;">
<table style="width: 100%; border-collapse: collapse; line-height: 1.5em; font-size: 95%; table-layout: fixed;">
<tr>
<tr>
<td style="width: 40%; border-bottom: 1px solid #eee; padding: 6px 4px; color: #555; vertical-align: top;">'''Author:'''</td>
<td style="width: 40%; border-bottom: 1px solid #eee; padding: 6px 4px; color: #222; vertical-align: top;">'''Author:'''</td>
<td style="width: 60%; border-bottom: 1px solid #eee; padding: 6px 4px; vertical-align: top;">{{{author|Unknown Character}}}</td>
<td style="width: 60%; border-bottom: 1px solid #eee; padding: 6px 4px; vertical-align: top;">[[Author::{{{author|Unknown}}}]]</td>
</tr>
</tr>
<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; color: #222; vertical-align: top;">'''Type:'''</td>
<td style="border-bottom: 1px solid #eee; padding: 6px 4px; vertical-align: top;">{{{doc_type|}}}</td>
<td style="border-bottom: 1px solid #eee; padding: 6px 4px; vertical-align: top;">[[Document Type::{{{doc_type|}}}]]</td>
</tr>
</tr>
{{#if: {{{location|}}} |
{{#if: {{{location|}}} |
<tr>
<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; color: #222; vertical-align: top;">'''Location:'''</td>
<td style="border-bottom: 1px solid #eee; padding: 6px 4px; vertical-align: top;">{{{location}}}</td>
<td style="border-bottom: 1px solid #eee; padding: 6px 4px; vertical-align: top;">[[Location::{{{location}}}]]</td>
</tr>
</tr>
}}
}}
<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; color: #222; vertical-align: top;">'''Elanthian Date:'''</td>
<td style="border-bottom: 1px solid #eee; padding: 6px 4px; vertical-align: top;">{{{eyear}}}-{{{emonth}}}-{{{eday}}}</td>
<td style="border-bottom: 1px solid #eee; padding: 6px 4px; vertical-align: top;">[[Lore Year::{{{eyear}}}]]-{{{emonth}}}-{{{eday}}}</td>
</tr>
</tr>
<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; color: #222; 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>
<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="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>
</tr>
</table>
</table>
Line 54: Line 59:
</div>
</div>


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


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


<div style="clear: both;"></div>
[[Category:Player Lore]]

[[Category:{{{doc_type|}}}]]
[[Category:Player-created lore|{{PAGENAME}}]]
</includeonly>
[[Category:Player {{{doc_type|}}}|{{{doc_type|}}}]]</includeonly>

Latest revision as of 00:29, 23 December 2025

This is the Player Lore template.