Difference between revisions of "Template:Plot logs"

From MahouMUSH
Jump to: navigation, search
(Undo revision 4144 by RainbowSherbet (talk))
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|
+
<includeonly>
{{#ask:[[Category:{{{Roleplay Logs}}}]] [[Log Tinyplot::{{{1}}}]]
+
{{#css:
 +
  .LogTable {text-align:left; width:100%; table-layout:fixed;}
 +
  .HeaderCell {padding: 0px 0px 0px 5px;}
 +
  .HeaderCell:nth-child(1) {border-radius:5px 0px 0px 0px; width: 20%;}
 +
  .HeaderCell:nth-child(2) {width: 10rem;}
 +
  .HeaderCell:nth-child(3) {border-radius:0px 5px 0px 0px; width: 70%;}
 +
  .LogRow { max-height:1em;}
 +
  .LogRow:nth-child(1) {background-color: #80c4d8}
 +
  .LogRow:nth-child(2n+2) {background-color: #e1ffe4}
 +
  .LogRow:nth-child(2n+3) {background-color: #bfe1eb}
 +
  .LogCell { vertical-align:top; padding: 0px 0px 0px 5px; max-height:1em;}
 +
  .LogRow:last-of-type td:nth-last-child(3) {border-radius:0px 0px 0px 5px}
 +
  .LogRow:last-of-type td:nth-last-child(1) {border-radius:0px 0px 5px 0px;}
 +
  .LogCell:nth-child(odd) { word-wrap:break-word; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; max-height:1.5em; height:1.5em; display:block;}
 +
}}
 +
{| class="LogTable"
 +
|- class="LogRow"
 +
! class=HeaderCell | Title
 +
! class=HeaderCell | Date
 +
! class=HeaderCell | Scene Summary
 +
|- class="LogRow"
 +
{{#ask:[[Category:Roleplay Logs]] [[Log Tinyplot::{{{1}}}]]
 
|?Log Date
 
|?Log Date
 
|?Log Synopsis
 
|?Log Synopsis
 
|format=template
 
|format=template
 
|template=Log List Single
 
|template=Log List Single
|limit=99999
+
|sort=Log Date,
|sort=Log Date  
+
|order=ascending
+
 
|link=none
 
|link=none
 +
|order=ascending,ascending
 
|default={{!}} colspan=3 {{!}} No logs submitted yet.
 
|default={{!}} colspan=3 {{!}} No logs submitted yet.
 +
|limit=200
 
}}
 
}}
|}</includeonly><noinclude>
+
|}
 +
</includeonly><noinclude>
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>

Latest revision as of 12:12, 23 May 2017

Usage

{{plot logs|Name of Plot Here}}