Difference between revisions of "Template:Character Logs"

From Heroes Assemble MUSH
Jump to navigation Jump to search
m (Protected "Template:Character Logs" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{#css:
 
{{#css:
   .LogTable {text-align:left; width:100%; table-layout:fixed; border-radius:5px;}
+
   .LogTable {text-align:left; width:100%; table-layout:fixed;}
  .LogTable tbody {border-radius:5px;};
+
   .LogTable tr td:nth-child(1) {width:300px;}
  .LogTable:nth-child(1) {border-top-left-radius:5px; border-top-right-radius:5px;}
+
   .LogTable tr td:nth-child(2) {width:150px;}
  .LogTable tr:nth-child(1) {border-top-left-radius:5px; border-top-right-radius:5px;}
 
   .LogTable tr td:nth-child(1) {width: 20rem;}
 
   .LogTable tr td:nth-child(2) {width: 15rem;}
 
  .LogTable tr:nth-child(1) td:nth-child(1) {border-top-left-radius:5px; }
 
  .LogTable tr:nth-child(1) td:nth-child(3) {border-top-right-radius:5px; }
 
  .LogTable tr:nth-child(2n+1) {background-color: rgba(0,70,70,.4)}
 
  .LogTable tr:nth-child(2n) {background-color: rgba(0,70,70,.2)}
 
  .LogTable td { vertical-align:top; padding: 0px 0px 0px 5px;}
 
  .logTable tr:nth-last-child(1) {border-bottom-right-radius: 5px; border-bottom-left-radius: 5px;}
 
  .LogTable tr:nth-last-child(1) td:nth-child(1) {border-bottom-left-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;}
 
 
   .HeaderCell {padding: 0px 0px 0px 5px;}
 
   .HeaderCell {padding: 0px 0px 0px 5px;}
   .HeaderCell:nth-child(1) {border-radius:5px 0px 0px 0px; width: 35%;}
+
   .HeaderCell:nth-child(1) {border-radius:5px 0px 0px 0px; width: 300px; background-color: #081f3f; color: red}
   .HeaderCell:nth-child(2) {width: 10rem;}
+
   .HeaderCell:nth-child(2) {width: 150px; background-color: #081f3f; color: red}
   .HeaderCell:nth-child(3) {border-radius:0px 5px 0px 0px; width: 65%;}
+
   .HeaderCell:nth-child(3) {border-radius:0px 5px 0px 0px; background-color: #081f3f; color: red}
 
   .LogRow { max-height:1em;}
 
   .LogRow { max-height:1em;}
   .LogRow:nth-child(1) {background-color: rgba(0,70,70,.5)}
+
   .LogRow:nth-child(1) {background-color: #081f3f}
   .LogRow:nth-child(2n+2) {background-color: rgba(0,70,70,.2)}
+
   .LogRow:nth-child(2n+2) {background-color: rgba(4,61,61,.97)}
   .LogRow:nth-child(2n+3) {background-color: rgba(0,70,70,.3)}
+
   .LogRow:nth-child(2n+3) {background-color: #081f3f}
 
   .LogCell { vertical-align:top; padding: 0px 0px 0px 5px; max-height:1em;}
 
   .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(3) {border-radius:0px 0px 0px 5px;}
 
   .LogRow:last-of-type td:nth-last-child(1) {border-radius:0px 0px 5px 0px;}
 
   .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;}
+
   .LogCell:nth-child(1) { word-wrap:break-word; white-space: overflow: hidden; max-height:1.5em; height:1.5em; display:block;}
 +
  .LogCell:nth-child(3) { word-wrap:break-word; max-height:1.5em; height:1.5em; }
 
}}
 
}}
 
[{{fullurl:{{FULLPAGENAME}}}}&action=purge To Refresh Character's Log List Click Here]. Then hit the resulting button to dump the old cached list.
 
[{{fullurl:{{FULLPAGENAME}}}}&action=purge To Refresh Character's Log List Click Here]. Then hit the resulting button to dump the old cached list.
 +
<br>
 +
<br>
 +
<span style="color:#ffff66">{{FULLPAGENAME}}</span> has <span style="color:#ffff66">
 +
{{#ask:[[Category:Roleplay Logs]] [[Log Characters::{{{2|{{#var:charid}}}}}]]
 +
|format=count
 +
}}</span> finished logs.
 +
<br>
 
<br>
 
<br>
 
{| class="LogTable"
 
{| class="LogTable"
Line 36: Line 32:
 
! class=HeaderCell | Scene Summary
 
! class=HeaderCell | Scene Summary
 
|- class="LogRow"
 
|- class="LogRow"
{{#ask:[[Category:{{{1|Roleplay Logs}}}]] [[Log Characters::{{{2|{{#var:charid}}}}}]]
+
{{#ask:[[Category:{{{1|Roleplay Logs}}}]] [[Log Characters::{{{2|{{#var:charid}}}}}]] OR [[Category:{{{1|Roleplay Logs}}}]] [[Log NPC Characters::{{{2|{{#var:charid}}}}}]]
 
|?Log Date
 
|?Log Date
 
|?Log Synopsis
 
|?Log Synopsis

Latest revision as of 01:30, 6 October 2021

To include character logs:

{{Character Logs}}

For Cutscenes:

{{Character Logs|Cutscenes}}

For a specific character:

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