Difference between revisions of "User:Admin/sandbox"

From Gunsopedia
Jump to: navigation, search
 
Line 1: Line 1:
{| class="wikitable collapsible"
+
== Days page template ==
! colspan="4"|There are AOTDs for this month
+
Its simple, really.  Just like this -
|-
+
/* make the table to scroll days */
! width="100"|Page !! Subject !! Rationale  !! POTD
+
{| width="100%"
|-
+
| align="left" | [[{{{1}}}|<< Previous day]]
| [[MONTH 1]] || [[MONTH 1/Article of the day]] ||  || [[MONTH 1/Picture of the day]]
+
| align="right" | [[{{{2}}}|Next day >>]]
|-
+
| [[MONTH 2]] || [[MONTH 2/Article of the day]] ||  || [[MONTH 2/Picture of the day]]
+
|-
+
| [[MONTH 3]] || [[MONTH 3/Article of the day]] ||  || [[MONTH 3/Picture of the day]]
+
|-
+
| [[MONTH 4]] || [[MONTH 4/Article of the day]] ||  || [[MONTH 4/Picture of the day]]
+
|-
+
| [[MONTH 5]] || [[MONTH 5/Article of the day]] ||  || [[MONTH 5/Picture of the day]]
+
|-
+
| [[MONTH 6]] || [[MONTH 6/Article of the day]] ||  || [[MONTH 6/Picture of the day]]
+
|-
+
| [[MONTH 7]] || [[MONTH 7/Article of the day]] ||  || [[MONTH 7/Picture of the day]]
+
|-
+
| [[MONTH 8]] || [[MONTH 8/Article of the day]] ||  || [[MONTH 8/Picture of the day]]
+
|-
+
| [[MONTH 9]] || [[MONTH 9/Article of the day]] ||  || [[MONTH 9/Picture of the day]]
+
|-
+
| [[MONTH 10]] || [[MONTH 10/Article of the day]] ||  || [[MONTH 10/Picture of the day]]
+
|-
+
| [[MONTH 11]] || [[MONTH 11/Article of the day]] ||  || [[MONTH 11/Picture of the day]]
+
|-
+
| [[MONTH 12]] || [[MONTH 12/Article of the day]] ||  || [[MONTH 21/Picture of the day]]
+
|-
+
| [[MONTH 13]] || [[MONTH 13/Article of the day]] ||  || [[MONTH 13/Picture of the day]]
+
|-
+
| [[MONTH 14]] || [[MONTH 14/Article of the day]] ||  || [[MONTH 14/Picture of the day]]
+
|-
+
| [[MONTH 15]] || [[MONTH 15/Article of the day]] ||  || [[MONTH 15/Picture of the day]]
+
|-
+
| [[MONTH 16]] || [[MONTH 16/Article of the day]] ||  || [[MONTH 16/Picture of the day]]
+
|-
+
| [[MONTH 17]] || [[MONTH 17/Article of the day]] ||  || [[MONTH 17/Picture of the day]]
+
|-
+
| [[MONTH 18]] || [[MONTH 18/Article of the day]] ||  || [[MONTH 18/Picture of the day]]
+
|-
+
| [[MONTH 19]] || [[MONTH 19/Article of the day]] ||  || [[MONTH 19/Picture of the day]]
+
|-
+
| [[MONTH 20]] || [[MONTH 20/Article of the day]] ||  || [[MONTH 20/Picture of the day]]
+
|-
+
| [[MONTH 21]] || [[MONTH 21/Article of the day]] ||  || [[MONTH 21/Picture of the day]]
+
|-
+
| [[MONTH 22]] || [[MONTH 22/Article of the day]] ||  || [[MONTH 22/Picture of the day]]
+
|-
+
| [[MONTH 23]] || [[MONTH 23/Article of the day]] ||  || [[MONTH 23/Picture of the day]]
+
|-
+
| [[MONTH 24]] || [[MONTH 24/Article of the day]] ||  || [[MONTH 24/Picture of the day]]
+
|-
+
| [[MONTH 25]] || [[MONTH 25/Article of the day]] ||  || [[MONTH 25/Picture of the day]]
+
|-
+
| [[MONTH 26]] || [[MONTH 26/Article of the day]] ||  || [[MONTH 26/Picture of the day]]
+
|-
+
| [[MONTH 27]] || [[MONTH 27/Article of the day]] ||  || [[MONTH 27/Picture of the day]]
+
|-
+
| [[MONTH 28]] || [[MONTH 28/Article of the day]] ||  || [[MONTH 28/Picture of the day]]
+
|-
+
| [[MONTH 29]] || [[MONTH 29/Article of the day]] ||  || [[MONTH 29/Picture of the day]]
+
|-
+
| [[MONTH 30]] || [[MONTH 30/Article of the day]] ||  || [[MONTH 30/Picture of the day]]
+
|-
+
| [[MONTH 31]] || [[MONTH 31/Article of the day]] ||  || [[MONTH 31/Picture of the day]]
+
 
|}
 
|}
 +
/* call the other pages */
 +
== [[{{PAGENAME}}/article|Featured Article]] ==
 +
{{:{{PAGENAME}}/article}}
 +
 +
== [[{{PAGENAME}}/events|On this day]] ==
 +
{{:{{PAGENAME}}/events}}
 +
 +
== Today in pictures ==
 +
This part can still be a gallery like it is now. I got no other ideas.  Suggestions?
 +
<gallery>
 +
 +
</gallery>
 +
=== [[{{PAGENAME}}/image|Featured Image]] ===
 +
{{:{{PAGENAME}}/image}}
 +
 +
=== [[{{PAGENAME}}/video|Featured Video]] ===
 +
{{:{{PAGENAME}}/video}}
 +
 +
{{DEFAULTSORT:{{{3}}}}}
 +
[[category:{{{4}}}| ]]
 +
 +
=== How it will work ===
 +
Simple, really.  Just paste in the code-
 +
<pre>
 +
{{day|PreviousDate|NextDate|TheMonth|DefaultSortKey}}
 +
</pre>
 +
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-
 +
<pre>
 +
{{#if:{{{3|}}} |
 +
{{DEFAULTSORT:{{{3}}}}}
 +
}}
 +
</pre>
 +
-or something like it.  Or how about-
 +
{| class="wikitable" align="center" width="840" cellpadding="10"
 +
! [[{{PAGENAME}}/image|Featured Image]] !! [[{{PAGENAME}}/video|Featured Video]]
 +
|- align="center"
 +
| {{:{{PAGENAME}}/image}} || {{:{{PAGENAME}}/video}}
 +
|}
 +
-for that stuff?  It aint that hard. --[[User:Admin|ComAdmin]] ([[User talk:Admin|talk]]) 17:03, 21 April 2013 (CDT)

Latest revision as of 17:03, 21 April 2013

Contents

[edit] 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 */

[edit] Featured Article

Admin/sandbox/article

[edit] On this day

Admin/sandbox/events

[edit] Today in pictures

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

[edit] Featured Image

Admin/sandbox/image

[edit] Featured Video

Admin/sandbox/video


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

[edit] 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