- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:XOTN/AOTN: Difference between revisions
Jump to navigation
Jump to search
Created page with "<div class="aotn-container">{{#if:{{{featured|false}}}| <div class="aotn-content"> {{#if:{{{image|}}}|[[File:{{{image}}}|150px|thumb|right|{{{title}}}]]}} <div class="aotn-text"> '''{{{title|No title set}}}'''<br/> {{{summary|No summary available.}}} {{#if:{{{link|}}}|<br/>'''[[{{{link}}}|Read more about {{{title}}}...]]'''}} </div> </div> <div class="aotn-meta" style="font-size:8pt; text-align:center; margin-top:5px;"> Set by {{{editor|Unknown}}} on {{{date|Unknown date..." |
CrackRabbit (talk | contribs) No edit summary |
||
| (12 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<div class="aotn-container">{{#if:{{{featured|false}}}| | <div class="aotn-container">{{#if:{{{featured|false}}}| | ||
<div class="aotn-content"> | <div class="aotn-content"> | ||
{{#if:{{{image|}}}|[[File:{{{image}}}| | <div class="aotn-header" style="text-align:center; padding:10px; background:#ebebff; border-bottom:1px solid #ccc;"> | ||
<div class="aotn- | <h3 style="margin:0; color:#AF0A0F;">'''{{{title|No title set}}}'''</h3> | ||
{{#if:{{{image|}}}|<div style="margin:10px 0;">[[File:{{{image}}}|250px|{{{title}}}]]</div>}} | |||
</div> | |||
<div class="aotn-content-area" style="height:250px; overflow-y:auto; padding:15px; background:#ebebff; border:1px solid #ddd;"> | |||
{{{summary|No summary available.}}} | {{{summary|No summary available.}}} | ||
</div> | </div> | ||
<div class="aotn-footer" style="text-align:center; padding:8px; background:#ebebff; border-top:1px solid #ccc;"> | |||
{{#if:{{{link|}}}|'''[[{{{link}}}|Read the full article...]]''' • }} | |||
<small>Set by {{{editor|Unknown}}} on {{{date|Unknown date}}}</small> | |||
</div> | </div> | ||
</div> | </div> | ||
|<!-- Not featured, show placeholder --> | |<!-- Not featured, show placeholder --> | ||
<div class="aotn-placeholder"> | <div class="aotn-placeholder" style="text-align:center; padding:20px; background:#ebebff; border:1px solid #ddd;"> | ||
<em>No Article of the Now currently set. [[Encyclopedia Dramatica:XOTN/Queue|Submit one here]]!</em> | <em>No Article of the Now currently set. [[Encyclopedia Dramatica:XOTN/Queue|Submit one here]]!</em> | ||
</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. | 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 | |||
[[Category:XOTN Templates]] | [[Category:XOTN Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:30, 5 January 2026
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