Difference between revisions of "User:Admin/sandbox"

From Gunsopedia
Jump to: navigation, search
m (1 revision)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
{| class="toccolours"  
+
== Days page template ==
|+ style="background:#ff3300"| '''<big>SAFETY WARNING</big>'''
+
Its simple, really.  Just like this -
|-
+
/* make the table to scroll days */
! colspan="2"|Just because you CAN do something, doesn't mean you SHOULD.
+
{| width="100%"
|-
+
| align="left" | [[{{{1}}}|<< Previous day]]
|[[File:Wiley coyote.jpg|130px]]
+
| align="right" | [[{{{2}}}|Next day >>]]
| Some pages in the GOROLE may describe things or activities that may create an '''[[GOROLE:Risk disclaimer|unreasonable risk]]''' for those readers who choose to apply or use the information in their own activities.  When encountering such information, it is always best to consult a qualified expert in the material in question. None of the authors, contributors, sponsors, administrators, vandals, or anyone else connected with GOROLE in any way whatsoever, can be responsible for your use of the information contained in or linked from these web pages.
+
|}
 +
/* 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}}}| ]]
  
See the '''[[GOROLE:General disclaimer|disclaimers]]''' for more details.
+
=== 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 16: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