Difference between revisions of "Template:Character Logs"

From Multiverse Crisis MUSH
Jump to: navigation, search
Line 16: Line 16:
 
   .LogTable tr:nth-last-child(1) td:nth-last-child(1) {border-bottom-right-radius:5px;}
 
   .LogTable tr:nth-last-child(1) td:nth-last-child(1) {border-bottom-right-radius:5px;}
 
   .LogTable tr td:nth-child(odd) { word-wrap:break-word; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; max-height:1.5em; height:1.5em; display:block;}
 
   .LogTable tr td:nth-child(odd) { word-wrap:break-word; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; max-height:1.5em; height:1.5em; display:block;}
 +
  .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: rgba(0,70,70,.5)}
 +
  .LogRow:nth-child(2n+2) {background-color: rgba(0,70,70,.2)}
 +
  .LogRow:nth-child(2n+3) {background-color: rgba(0,70,70,.3)}
 +
  .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="LogTable"
 +
! class=HeaderCell | Title
 +
! class=HeaderCell | Date
 +
! class=HeaderCell | Scene Summary
 +
|- class="LogRow"
 
{{#ask:[[Category:{{{1|Roleplay Logs}}}]] [[Log Characters::{{{2|{{#var:charid}}}}}]]
 
{{#ask:[[Category:{{{1|Roleplay Logs}}}]] [[Log Characters::{{{2|{{#var:charid}}}}}]]
 
|?Log Date
 
|?Log Date

Revision as of 09:28, 13 July 2014

To include character logs:

{{Character Logs}}

For Cutscenes:

{{Character Logs|Cutscenes}}

For a specific character:

{{Character Logs||Char_id}}
{{Character Logs|Cutscenes|Char_id}}