Difference between revisions of "Template:RightSideBar"

From Regiapædia
Jump to: navigation, search
 
(119 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="nomobile">
+
<!--Hide on Mobile--><div class="nomobile">
{| class="wikitable" align = "right"
+
<div style="width: 220px; height:100%; padding: 0px; margin-left: 20px; float:right;">
|-
+
 
! scope="col" width="200"|{{PAGENAME}}
+
  {{#ifexist: Template:Nav {{{SubCategory|}}} |
{{#if: {{{Typology|}}} |
+
      <div style="width:204px; float:right; background-color: #f8f8f8; border:1px solid gray; text-align:center; padding:5px;><big>'''Explore'''</big><br>{{Nav {{{SubCategory|}}}|Side=Yes}}</div>
{{!-}} align="center" valign="top"
+
  |{{#ifexist: Template:Nav {{{TopCategory|}}} |
{{!}}[[File:{{{TypologyFile|}}}|200px|center|]]
+
      <div style="width:204px; float:right; background-color: #f8f8f8; border:1px solid gray; text-align:center; padding:5px;><big>'''Explore'''</big><br>{{Nav {{{TopCategory|}}}|Side=Yes}}</div>
[[:File:{{{TypologyFile|}}}|{{{Typology}}}]]
+
  | }} }}
|}}
+
 
|- align= "left"
+
  <div style="width:220px; float:right;">&nbsp;</div>
|{{TOC|align = "left"|width=200px|limit={{{Limit|3}}}}}
+
 
{{#if: {{{Category1|}}} |
+
  <div style="width:200px; float:right;">{{TOC|align = "left"|width=200px|limit={{{Limit|3}}}}}</div>
{{!-}} align="center" valign="top"
+
 
{{!}}{{#if: {{{CategoryFile|}}} |
+
  <div style="width:220px; float:right;">&nbsp;</div>
[[File:{{{CategoryFile|}}}|200px|center|link={{{Category1|}}}]]
+
 
|}}
+
  {{#if: {{{TopCategory|}}} |
'''[[:Category:{{{Category1}}}|{{{Category1}}}]]-{{PAGENAME}}'''  
+
    <div style="width:194px; float:right; background-color: #f8f8f8; border:1px solid gray; padding:5px 5px 5px 15px;"><big>'''[[:Category:{{{TopCategory}}}|{{{TopCategory}}}]]'''</big><br>{{#tag:categorytree|{{{TopCategory}}}|mode=Pages|Depth=1|hideroot=on|style="font-size:12px;"}}{{#if: {{{SubCategory|}}} |<br><big>'''[[:Category:{{{SubCategory}}}|{{{SubCategory}}}]]'''</big><br>{{#tag:categorytree|{{{SubCategory}}}|mode=Pages|Depth=1|hideroot=on|style="font-size:12px;"}}
{{!-}} valign="top"
+
  |}}</div>|}}
{{!}}{{#tag:categorytree|{{{Category1}}}|mode=Pages|Depth=1|hideroot=on|style="width:200px;"}}
+
 
|}}
+
<div style="width:220px; float:right;">&nbsp;</div>
{{#if: {{{Category2|}}} |
+
 
{{!-}} align="center"
+
<div style="width:194px; float:right; background-color: #f8f8f8; border:1px solid gray; padding:5px 5px 5px 15px;">Create a new {{{PageType|}}} page in category {{{SubCategory|}}}<br>  
{{!}}'''[[:Category:{{{Category2}}}|{{{Category2}}}]]'''  
+
{{Preload-Page|{{{TopCategory|}}}|{{{SubCategory|}}}|{{{PageType|}}} }}</div>
{{!-}} valign="top"
+
 
{{!}}{{#tag:categorytree|{{{Category2}}}|mode=Pages|Depth=1|hideroot=on|style="width:200px;"}}
+
</div></div>
|}}
 
|}
 
</div> <div id="mf-HideOnDesktop">
 
{{#if: {{{Category1|}}} |
 
{{#if: {{{Typology|}}} |
 
[[File:{{{TypologyFile|}}}|200px|center|]]
 
''{{{Typology|}}}''
 
|}}
 
<br><big>'''More [[:Category:{{{Category1}}}|{{{Category1}}}]] pages'''</big><br>
 
{{{!}} class="mw-collapsible mw-collapsed"
 
!
 
{{!-}}
 
{{!}}
 
<!-- {{#tag:categorytree|{{{Category1}}}|mode=Pages|Depth=1|hideroot=on}}-->
 
{{!}}}
 
|}}
 
</div> {{#ifeq:{{{Category1|}}}|{{PAGENAME}}||{{#if: {{{Category1|}}} | <includeonly>[[Category:{{{Category1|}}}]]</includeonly> |}}}} {{#if: {{{Category2|}}} | <includeonly>[[Category:{{{Category2|}}}]]</includeonly> |}}
 

Latest revision as of 07:55, 14 October 2017


 
 


 
Create a new page in category