Difference between revisions of "Template:Main Page"

From islamWiki...
Jump to: navigation, search
(Equalising sections' heights and colour changes.)
Line 11: Line 11:
 
  | color      = 339966
 
  | color      = 339966
 
  | title      = Main
 
  | title      = Main
  | content    =<!-- List of article in Category: Main articles -->
+
  | content    =<!-- List of articles in Category: Main articles -->
<DynamicPageList>
+
  <DynamicPageList>
category            = Main articles
+
  category            = Main articles
count                = 5
+
  count                = 5
order                = ascending
+
  order                = ascending</DynamicPageList>
</DynamicPageList>
+
  <br>
 
}}
 
}}
 
{{#ifexpr: ( {{PAGESINCATEGORY:Islamic culture}} ) > 0 <!-- if category exists then show list otherwise -->
 
{{#ifexpr: ( {{PAGESINCATEGORY:Islamic culture}} ) > 0 <!-- if category exists then show list otherwise -->
 
|
 
|
 
  {{Main Page/Frame
 
  {{Main Page/Frame
   | color      = 00F0FF
+
   | color      = FF768E
 
   | title      = Islamic culture
 
   | title      = Islamic culture
   | content    =<!-- List of article in Category: Islamic culture -->
+
   | content    =<!-- List of articles in Category: Islamic culture -->
 
     <DynamicPageList>
 
     <DynamicPageList>
 
     category            = Islamic culture
 
     category            = Islamic culture
 
     count                = 5
 
     count                = 5
 
     order                = ascending</DynamicPageList> <!-- Having empty space before "</DynamicPageList>" gives errors-->
 
     order                = ascending</DynamicPageList> <!-- Having empty space before "</DynamicPageList>" gives errors-->
   <br /><!-- Empty line in order to make both columns of equal height, will need this as long as number of articles in both left and right categories aren't equal or unless different content is used -->
+
   <!-- <br /> <!-- Empty line in order to make both columns of equal height, will need this as long as number of articles in both left and right categories aren't equal or unless different content is used -->
 
  }}
 
  }}
 
|}}
 
|}}
Line 46: Line 46:
 
   | color      = 990000
 
   | color      = 990000
 
   | title      = Counter argument
 
   | title      = Counter argument
   | content    =<!-- List of article in Category: Counter argument -->
+
   | content    =<!-- List of articles in Category: Counter argument -->
 
     <DynamicPageList>
 
     <DynamicPageList>
 
     category            = Counter argument
 
     category            = Counter argument
 
     count                = 5
 
     count                = 5
 
     order                = ascending</DynamicPageList> <!-- Having empty space before "</DynamicPageList>" gives errors-->
 
     order                = ascending</DynamicPageList> <!-- Having empty space before "</DynamicPageList>" gives errors-->
   <br /><!-- Empty line in order to make both columns of equal height, will need this as long as number of articles in both left and right categories aren't equal or unless different content is used -->
+
   <!-- <br /> <!-- Empty line in order to make both columns of equal height, will need this as long as number of articles in both left and right categories aren't equal or unless different content is used -->
 
  }}
 
  }}
 
|}}
 
|}}
Line 57: Line 57:
 
|
 
|
 
  {{Main Page/Frame
 
  {{Main Page/Frame
   | color      = 00FF00
+
   | color      = 800080
   | title      = Islamic Economics
+
   | title      = Islamic economics
   | content    =<!-- List of article in Category: Islamic Economics -->
+
   | content    =<!-- List of articles in Category: Islamic Economics -->
 
     <DynamicPageList>
 
     <DynamicPageList>
 
     category            = Islamic Economics
 
     category            = Islamic Economics
 
     count                = 5
 
     count                = 5
 
     order                = ascending</DynamicPageList> <!-- Having empty space before "</DynamicPageList>" gives errors-->
 
     order                = ascending</DynamicPageList> <!-- Having empty space before "</DynamicPageList>" gives errors-->
   <br /><!-- Empty line in order to make both columns of equal height, will need this as long as number of articles in both left and right categories aren't equal or unless different content is used -->
+
   <!-- <br /><!-- Empty line in order to make both columns of equal height, will need this as long as number of articles in both left and right categories aren't equal or unless different content is used -->
 
  }}
 
  }}
 
|}}
 
|}}

Revision as of 14:11, 24 May 2020