Template:PlayerLoreContent: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Template for player submitted lore.)
 
mNo edit summary
 
(13 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: 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="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);">
<table style="width: 100%; line-height: 1.5em; border-collapse: collapse;">
<div style="text-align: center; padding: 15px; background-color: #fff;">
<tr>
{{#switch: {{{doc_type|}}}
| Lore = [[File:Lore_Icon.png|250px]]
<td colspan="2" style="text-align: center; padding-bottom: 10px;">
{{#switch: {{{doc_type|}}}
| Research = [[File:Research_Icon.png|250px]]
| Lore = [[File:Lore_Icon.png|250px]]
| Lecture = [[File:Lecture_Icon.png|250px]]
| Research = [[File:Research_Icon.png|250px]]
| Book = [[File:Book_Icon.png|250px]]
| Lecture = [[File:Lecture_Icon.png|250px]]
| Letter = [[File:Letter_Icon.png|250px]]
| Book = [[File:Book_Icon.png|250px]]
| Diary = [[File:Diary_Icon.png|250px]]
| Letter = [[File:Letter_Icon.png|250px]]
| Song = [[File:Song_Icon.png|250px]]
| Diary = [[File:Diary_Icon.png|250px]]
| Event = [[File:Event_Icon.png|250px]]
| Song = [[File:Song_Icon.png|250px]]
| #default = [[File:Default_Fiction_Icon.png|250px]]
| Event = [[File:Event_Icon.png|250px]]
| #default = [[File:Default_Fiction_Icon.png|250px]]
}}
</td>
</tr>
<tr><th colspan="2" style="background: #be2d2d; color: white; text-align: center; padding: 4px;">Document Info</th></tr>
<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>
{{#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>
}}
}}
</div>
<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: 4px;">'''Submitted:'''</td><td style="border-bottom: 1px solid #eee; padding: 4px;">{{#time: F j, Y | {{{date_submitted|now}}} }}</td></tr>
<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;">
<tr><td style="padding: 4px;">'''Word Count:'''</td><td style="padding: 4px;">{{#invoke:WordCount|count|{{{content|}}} }} words</td></tr>
<table style="width: 100%; border-collapse: collapse; line-height: 1.5em; font-size: 95%; table-layout: fixed;">
</table>
<tr>
<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::{{{author|Unknown}}}]]</td>
</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; vertical-align: top;">[[Document Type::{{{doc_type|}}}]]</td>
</tr>
{{#if: {{{location|}}} |
<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; vertical-align: top;">[[Location::{{{location}}}]]</td>
</tr>
}}
<tr>
<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;">[[Lore Year::{{{eyear}}}]]-{{{emonth}}}-{{{eday}}}</td>
</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; vertical-align: top;">{{#time: F j, Y | {{{date_submitted|now}}} }}</td>
</tr>
</table>
</div>
</div>
</div>


<div class="fiction-summary" style="margin-bottom: 20px;">
<div class="fiction-summary" style="margin-bottom: 20px; line-height: 1.6; color: #222;">
<div style="font-weight: bold; border-bottom: 1px solid #ccc; margin-bottom: 5px;">Summary</div>
{{{summary|No summary provided.}}}
{{{summary|No summary provided.}}}
</div>
</div>


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

<div style="clear: both;"></div>


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

Latest revision as of 00:29, 23 December 2025

This is the Player Lore template.