User:Admin/sandbox
From Gunsopedia
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
On this day
Today in pictures
This part can still be a gallery like it is now. I got no other ideas. Suggestions?
Featured Image
Featured 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)