User:Admin/sandbox

From Gunsopedia
< User:Admin
Revision as of 16:03, 21 April 2013 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Days page template

Its simple, really. Just like this - /* make the table to scroll days */

[[{{{1}}}|<< Previous day]] [[{{{2}}}|Next day >>]]

/* call the other pages */

Featured Article

Admin/sandbox/article

On this day

Admin/sandbox/events

Today in pictures

This part can still be a gallery like it is now. I got no other ideas. Suggestions?

Featured Image

Admin/sandbox/image

Featured Video

Admin/sandbox/video


[[category:{{{4}}}| ]]

How it will work

Simple, really. Just paste in the code-

{{day|PreviousDate|NextDate|TheMonth|DefaultSortKey}}

And everything else gets populated from <date>/whatever. Simple and done. Easy peasey. Any changes that need to be made can be done by clicking on the H2 and going to the page needed to edit. We can even wrap the DEFAULTSORT in an IF, if needed. Like-

{{#if:{{{3|}}} |
{{DEFAULTSORT:{{{3}}}}}
}}

-or something like it. Or how about-

Featured Image Featured Video
Admin/sandbox/image Admin/sandbox/video

-for that stuff? It aint that hard. --ComAdmin (talk) 17:03, 21 April 2013 (CDT)

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox