Draft:Template:Article: Difference between revisions

From AbhiprayaVedi
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<includeonly>
This template is used for article pages.
 
To create a new article, use the form: [[Form:Article]]
 
{{#default_form:Article}}
</noinclude>
 
<div class="article-infobox" style="float: right; width: 250px; border: 1px solid #aaa; padding: 10px; margin: 0 0 10px 10px; background: #f9f9f9;">
<div class="article-infobox" style="float: right; width: 250px; border: 1px solid #aaa; padding: 10px; margin: 0 0 10px 10px; background: #f9f9f9;">
'''Title:''' {{{Title|}}}<br/>
'''Title:''' {{{Title|}}}<br/>
Line 12: Line 5:
'''Date:''' {{{Date|}}}<br/>
'''Date:''' {{{Date|}}}<br/>
'''Category:''' {{{Category|}}}
'''Category:''' {{{Category|}}}
{{#if:{{{Thumbnail|}}}|[[File:{{{Thumbnail}}}|thumb|250px]]}}
{{#if:{{{Thumbnail|}}}|
[[File:{{{Thumbnail}}}|thumb|250px]]
|}}
</div>
</div>


Line 24: Line 19:
== About the Author ==
== About the Author ==
{{{Author_Bio|}}}
{{{Author_Bio|}}}
}}
|}}


[[Category:{{{Category|}}}]]
[[Category:{{{Category|}}}]]
[[Category:Articles]]
[[Category:Articles]]
<includeonly>[[Category:Articles by {{{Author|}}}]]</includeonly>
[[Category:Articles by {{{Author|}}}]]
</includeonly>
 
<noinclude>
This template is used for article pages.
 
To create a new article, use the form: [[Form:Article]]
 
{{#default_form:Article}}
 
== Usage ==
<pre>
{{Draft:Template:Article
|Title=Article Title Here
|Author=Author Name
|Date=2026-01-12
|Category=Politics
|Thumbnail=Example.jpg
|Introduction=Brief introduction text
|Content=Main article content
|Author_Bio=Author biography (optional)
}}
</pre>
 
[[Category:Templates]]
</noinclude>

Revision as of 22:13, 12 January 2026


This template is used for article pages.

To create a new article, use the form: Form:Article


Usage

{{Draft:Template:Article
|Title=Article Title Here
|Author=Author Name
|Date=2026-01-12
|Category=Politics
|Thumbnail=Example.jpg
|Introduction=Brief introduction text
|Content=Main article content
|Author_Bio=Author biography (optional)
}}