Registration has been disabled and the moderation extension has been turned off.

Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:XOTN/AOTN: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
No edit summary
m Minor image resize
Tags: Mobile edit Mobile web edit
 
(8 intermediate revisions by one other user not shown)
Line 3: Line 3:
<div class="aotn-header" style="text-align:center; padding:10px; background:#f0f0f0; border-bottom:1px solid #ccc;">
<div class="aotn-header" style="text-align:center; padding:10px; background:#f0f0f0; border-bottom:1px solid #ccc;">
<h3 style="margin:0; color:#AF0A0F;">'''{{{title|No title set}}}'''</h3>
<h3 style="margin:0; color:#AF0A0F;">'''{{{title|No title set}}}'''</h3>
{{#if:{{{image|}}}|<div style="margin:10px 0;">[[File:{{{image}}}|100px|{{{title}}}]]</div>}}
{{#if:{{{image|}}}|<div style="margin:10px 0;">[[File:{{{image}}}|250px|{{{title}}}]]</div>}}
</div>
</div>
<div class="aotn-scroll-content" style="height:300px; overflow-y:auto; padding:15px; background:#fff; border:1px solid #ddd;">
<div class="aotn-content-area" style="height:250px; overflow-y:auto; padding:15px; background:#fff; border:1px solid #ddd;">
{{{content|{{{summary|No content available.}}}}}}
{{{summary|No summary available.}}}
</div>
</div>
<div class="aotn-footer" style="text-align:center; padding:8px; background:#f0f0f0; border-top:1px solid #ccc;">
<div class="aotn-footer" style="text-align:center; padding:8px; background:#f0f0f0; border-top:1px solid #ccc;">
{{#if:{{{link|}}}|'''[[{{{link}}}|Read full article...]]''' • }}
{{#if:{{{link|}}}|'''[[{{{link}}}|Read the full article...]]''' • }}
<small>Set by {{{editor|Unknown}}} on {{{date|Unknown date}}}</small>
<small>Set by {{{editor|Unknown}}} on {{{date|Unknown date}}}</small>
</div>
</div>
Line 18: Line 18:
</div>
</div>
}}</div><includeonly>{{#if:{{{featured|}}}|[[Category:Current AOTN]]}}</includeonly><noinclude>
}}</div><includeonly>{{#if:{{{featured|}}}|[[Category:Current AOTN]]}}</includeonly><noinclude>
This template displays the Article of the Now with scrollable content.
This template displays the Article of the Now with summary content.
'''Parameters:'''
'''Parameters:'''


title = Article title
title = Article title
image = Image filename
image = Image filename
content = Full article content (use this for long content)
summary = Article summary (2-3 paragraphs recommended)
summary = Brief summary (fallback if no content)
link = Link to full article
link = Link to full article
date = Date set
date = Date set
Line 31: Line 30:
featured = true/false
featured = true/false


'''Usage:'''
For full articles, use |content= parameter with the entire article text.
For summaries, use |summary= parameter.
[[Category:XOTN Templates]]
[[Category:XOTN Templates]]
</noinclude>
</noinclude>

Latest revision as of 05:25, 14 October 2025

No title set

No summary available.

This template displays the Article of the Now with summary content. Parameters:

title = Article title image = Image filename summary = Article summary (2-3 paragraphs recommended) link = Link to full article date = Date set expires = Expiration date editor = Who set it featured = true/false