Difference between revisions of "Main Page"

From WikiShia
Jump to: navigation, search
(Undo revision 83385 by Nazarzadeh (talk))
Line 1: Line 1:
{{Template:MainPage/Top}}
+
{| style="border-collapse: collapse"
{| style="margin-top:5px; background:none;"
+
|colspan="2"|
    | style="width:50%;vertical-align:top" |
+
{{MainPage/Top/sandbox}}
 
+
|-
        {| cellpadding="2" cellspacing="5" style="width:100%; vertical-align:top; background:transparent; border:1px solid #ade9cf; vertical-align:top; color:#000; padding: 0px 0px 10px 10px; {{border-radius|10px}};"
+
    | style="width: 60%; vertical-align: top; padding-right: 16px" |
            | <div id="mf-fa">{{MainPage/Box
+
          {{MainPage/Box/sandbox
            |title  = Featured article
+
                |title  = Featured Article
            |id      = mf-fa
+
                |id      = mf-fa
            |image  = Symbol_star_gold.svg
+
                |image  = Symbol_star_gold.svg
            |content = {{wikishia:Featured Article}}
+
                |content = {{wikishia: Featured Article}}
            |link =
+
                |link   =
            }}</div>
+
        |}
+
        {| style="margin:0 0 0 0; background:none; width:100%; margin-top:12px; background:transparent;width:100%; border:1px solid #ade9cf; vertical-align:top; color:#000; padding: 0px 20px 0px 0px;{{border-radius|10px}}"
+
            |
+
            {| width="100%" style=" padding:0px; margin-top:0px; margin-bottom:0px; background:transparent;"
+
            |-
+
            | align=center|<div id="mf-fp">{{MainPage/Box2
+
                | image  = Symbol_star6.svg
+
                | title  = {{#ifexist:Template:Daily Featured Image/{{formatnum:{{#time:Y-m-d}}|R}}
+
                | Today's featured picture
+
                | Today's featured picture&ensp;<span style="font-size:70%; font-weight:normal;"></span>
+
 
             }}
 
             }}
             |id      = mf-fp
+
             {{MainPage/Box/sandbox
 +
                | title  = Featured Picture
 +
                | id      = mf-fp
 +
                | image  = Symbol_star_silver.svg
 
                 | content = {{MainPage/FeaturedImage}}
 
                 | content = {{MainPage/FeaturedImage}}
            }}</div>
+
                |link =
            |}
+
        |}
+
    | style="width:50%;vertical-align:top" |
+
 
+
        {| style="margin:0 0 0 0; background:none; width:100%; background:transparent;width:100%; border:1px solid #ade9cf; vertical-align:top; color:#000; padding: 0px 20px 0px 0px;{{border-radius|10px}}"
+
            |
+
            {| width="100%" style=" padding:0px; margin-top:0px; margin-bottom:0px; background:transparent;"
+
            | <div id="mf-otd">{{MainPage/Box2
+
            | image  = Nuvola apps date.png
+
            | title  = Anniversaries
+
            |id      = mf-otd
+
            | content = '''Today''': {{#time:l|now}} '''{{#time: [[xmF xmj|xmF xmj]]}}''', '''{{#time:[[xmY]]}}'''
+
{{:{{#time:xmF xmj}}}}{{-}}
+
'''{{#time: [[F j|F j]]|0 day}}''', '''{{#time:Y}}'''
+
{{:{{#time:F j|0 day}}}}
+
 
+
 
             }}
 
             }}
            </div>
+
    | style="width: 40%; vertical-align: top" |
            |}
+
        {{MainPage/Box2/sandbox
|-
+
                | id      = mf-dyk
|
+
| image  = Help-browser.svg
{| width="100%"
+
| title  = Did you know...
| style="width:50%;vertical-align:top" |
+
| content = {{WikiShia:Did you know}}
{{MainPage/Box3
+
        }}
| image  = Help-browser - ar.svg
+
        {{MainPage/Box2/sandbox
| title  = New articles
+
                | id      = mf-otd
| content = <recent limit="15" minimum="1400" />
+
| image  = Nuvola apps date.png
}}
+
| title  = Upcoming anniversaries
| style="width:50%;vertical-align:top" |
+
| content = {{MainPage/upcoming anniversaries}}
{{MainPage/Box3
+
}}
| image  = Help-browser - ar.svg
+
{{MainPage/Box2/sandbox
| title  = Random articles
+
| image  = Help-browser.svg
| content = <random limit="15" namespace="main" minimum="1400"/>
+
| title  = You may also like...
}}
+
| content =<div style="height: 350px; overflow: hidden; -moz-column-count: 2; -webkit-column-count: 2; column-count: 2"><DynamicPageList>category=Featured articles
|}
+
count=5
        |}
+
offset=4 ordermethod=categoryadd mode=ordered</DynamicPageList><DynamicPageList>category=Good articles
        <!---{| style="margin:0 0 0 0; background:none; width:100%; margin-top:12px; background:transparent;width:100%; border:1px solid #ade9cf; vertical-align:top; color:#000; padding: 0px 20px 0px 0px;{{border-radius|10px}}"
+
count=5 ordermethod=categoryadd mode=ordered</DynamicPageList><recent limit="5" minimum="1400" /><random limit="10" namespace="main" minimum="1400"/></div>
            |
+
}}
            {| width="100%" style=" padding:0px; margin-top:0px; margin-bottom:0px; background:transparent;"
+
|-
            |-
+
|colspan="2" style="padding-top:16px"|
            | align=center|<div id="mf-fp">{{MainPage/Box2
+
{{wikishia:linkdump/ahlulbayt/sandbox}}
                | image  = Text-x-generic.svg
+
                | title  = {{#ifexist:Template:pp-template/{{formatnum:{{#time:Y-m-d}}|R}}
+
                | Today Featured Image
+
                | Conferences and Seminars
+
            }}
+
            |id      = mf-fp
+
                | content = {{Conferences and Seminars}}
+
            }}</div>
+
            |}
+
        |}-->
+
<!-- درون‌مایه -->       |  |
+
|}
+
{| width="100%"
+
{| cellpadding="2" cellspacing="5" style="width:100%; vertical-align:top; background:transparent; border:1px solid #ade9cf; vertical-align:top; color:#000; padding: 0px 0px 10px 10px; {{border-radius|10px}};"
+
            | <div id="mf-fa">{{MainPage/Box2
+
            |title  = AhlulBayt Websites
+
            |id      = mf-fa
+
            |image  = Ahlulbayt.png
+
            |content = {{wikishia:linkdump/ahlulbayt}}
+
            |link =
+
            }}</div>
+
        |}
+
 
|}
 
|}
 
__NOTOC__ __NOEDITSECTION__
 
__NOTOC__ __NOEDITSECTION__
Line 93: Line 47:
 
{{Nobots}}
 
{{Nobots}}
 
<noinclude>
 
<noinclude>
[[fa:]]
+
[[fa: ]]
[[ar:]]
+
[[ar: ]]
[[ur:]]
+
[[ur: ]]
[[tr:]]
+
[[tr: ]]
[[fr:]]
+
[[fr: ]]
[[es:]]
+
[[es: ]]
[[id:]]
+
[[id: ]]
 +
[[de: ]]
 
</noinclude>
 
</noinclude>
 +
 +
[[Category:Recent and random article codes added, see if this could be a work around for the cache problem]]

Revision as of 12:58, 26 October 2016

Template:MainPage/Top/sandbox

          Template:MainPage/Box/sandbox
           Template:MainPage/Box/sandbox
       Template:MainPage/Box2/sandbox
       Template:MainPage/Box2/sandbox

Template:MainPage/Box2/sandbox

WikiShia:Linkdump/ahlulbayt/sandbox