Submissions:Documentation

From AbhiprayaVedi
Revision as of 11:47, 29 May 2026 by VijayanPN (talk | contribs) (Created page with "= Documentation: Article Card Templates for AbhiprayaVedi = This guide explains the different card templates we have created for the '''Main Page''' and article pages. It is written for Editors and Admins. <nowiki>----</nowiki> 1. Overview of Card Templates We have three main card templates: {| style="border-spacing:0;margin:auto;width:17cm;" |- | style="background-color:transparent;border-top:0.5pt solid #000000;border-bottom:0.5pt solid #000000;border-left:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation: Article Card Templates for AbhiprayaVedi

This guide explains the different card templates we have created for the Main Page and article pages. It is written for Editors and Admins.


----


1. Overview of Card Templates


We have three main card templates:


Template Purpose Best Used On Image Size Recommended
ArticleCard General article preview Main Page, Related Articles 400x250px
StoryCard Top Stories / Highlighted stories Main Page 400x250px
FeaturedCard Large hero-style featured article Main Page (Featured section) 800x400px


All cards automatically pull data from the article’s `

-->` template (Display Name, Introduction, Author, Date, Image1, etc.).



2. How to Use Each Card

A. ArticleCard (Most Commonly Used)


Usage:

```wikitext

```


Example:

```wikitext

```


Where to use:

- Main Page → Recent / Top Stories sections

- Bottom of individual article pages → Related Articles


----


B. StoryCard


Usage:

```wikitext


{{{2}}}


```


Example:

```wikitext


{{{2}}}


```


Where to use:

- Main Page → "🔥 Top Stories" section


----


C. FeaturedCard (Large Banner Style)


Usage:

```wikitext



```


Example:

```wikitext



```


Where to use:

- Main Page → "✨ Featured" section (only 1–2 cards)


----


3. Step-by-Step Guide for Editors

Step 1: Publish an Article

1. Submit article through the form.

2. Review and edit.

3. Move page from `Submissions:` to `Main:` namespace.

4. Add the category `[[Category:Recent Publications]]` at the bottom.


Step 2: Add Article to Main Page

1. Go to the Main Page.

2. Add the card in the appropriate section using the syntax above.

3. Save.


Step 3: Add Related Articles at Bottom of Article

1. Open the article in source mode.

2. Add at the bottom (before the Edit button):


```wikitext

== Related Articles ==

```


----


4. Best Practices

- Always use published articles (in Main namespace) in cards.

- Use Image1 from the form for best results (it appears as thumbnail in cards).

- Keep Introduction field short and engaging (first 2–3 lines work best in cards).

- Update cards on the Main Page periodically (once every few days).


----


5. Future Improvements (Optional)

- We can later use Semantic MediaWiki to automatically show latest 6 articles without manual updating.

- We can create a "Related Articles" section that auto-suggests based on category.


-----