Template:PlayerLoreContent: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(9 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 #8a0000; background: #ffffff; padding: 0; margin: 0 5% 20px 20px; box-shadow: 2px 2px 5px rgba(0,0,0,0.2); font-family: inherit;">
<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 26: Line 35:
<tr>
<tr>
<td style="width: 40%; border-bottom: 1px solid #eee; padding: 6px 4px; color: #222; 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: #222; 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: #222; 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: #222; 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: #222; 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: #666; font-style: italic; vertical-align: top;">Word Count:</td>
<td style="padding: 6px 4px; font-style: italic; vertical-align: top; color: #666;">{{#invoke:WordCount|count|{{{content|}}} }}</td>
</tr>
</tr>
</table>
</table>
Line 54: Line 59:
</div>
</div>


<div class="fiction-summary" style="margin-bottom: 20px; font-style: italic; line-height: 1.6; color: #333;">
<div class="fiction-summary" style="margin-bottom: 20px; line-height: 1.6; color: #222;">
{{{summary|No summary provided.}}}
{{{summary|No summary provided.}}}
</div>
</div>


<div class="fiction-content" style="clear: both; border-top: 2px solid #8a0000; padding-top: 15px; margin-top: 20px;">
<div class="fiction-content">
<h2 style="color: #8a0000; border-bottom: 1px solid #ccc; margin-top: 0;">Content</h2>
<h2 style="color: #8a0000; border-bottom: 1px solid #ccc; margin-top: 10px;">Content</h2>
<div style="line-height: 1.6;">
<div style="line-height: 1.6;">
{{{content|}}}
{{{content|}}}
Line 65: Line 70:
</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.