Difference between revisions of "Template:Character Logs"

From Final Kingdom MUSH
Jump to: navigation, search
m
m
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOCACHE__{{#css:
+
<includeonly>__NOCACHE__
   .LogTable {text-align:left; width:100%; table-layout:fixed;}
+
{{#css:
   .LogTable tr th:{padding: 0px 0px 0px 5px;}
+
   .LogTable {text-align:left; width:100%; table-layout:fixed; border-radius:5px;}
   .LogTable tr:nth-child(1) td:nth-child(1) {border-top-left-radius:5px; width: 20%;}
+
   .LogTable tbody {border-radius:5px;};
   .LogTable tr td:nth-child(2) {width: 10rem;}
+
   .LogTable:nth-child(1) {border-top-left-radius:5px; border-top-right-radius:5px;}
   .LogTable tr:nth-child(1) td:nth-child(3) {border-top-right-radius:5px; width: 70%;}
+
  .LogTable tr:nth-child(1) {border-top-left-radius:5px; border-top-right-radius:5px;}
   .LogTable tr:nth-child(2n+2) {background-color: rgba(0,70,70,.2)}
+
  .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+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 td { vertical-align:top; padding: 0px 0px 0px 5px;}
   .LogTable tr:last-of-type td:nth-last-child(3) {border-bottom-left-radius:5px;}
+
   .logTable tr:nth-last-child(1) {border-bottom-right-radius: 5px; border-bottom-left-radius: 5px;}
   .LogTable tr:last-of-type td:nth-last-child(1) {border-bottom-right-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;}
 
   .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;}
  {{#ifeq:{{#ask: [[Category:{{{1|Roleplay Logs}}}]] [[Log Characters::{{{2|{{PAGENAME}}}}}]]| format=count}}|0||.LogTable {display:none;}}}
 
 
}}
 
}}
{{#ask: [[Category:{{{1|Roleplay Logs}}}]] [[Log Characters::{{{2|{{PAGENAME}}}}}]]| format=count}}
 
 
{| class="LogTable"  
 
{| class="LogTable"  
 
{{#ask:[[Category:{{{1|Roleplay Logs}}}]] [[Log Characters::{{{2|{{PAGENAME}}}}}]]
 
{{#ask:[[Category:{{{1|Roleplay Logs}}}]] [[Log Characters::{{{2|{{PAGENAME}}}}}]]
Line 20: Line 23:
 
|format=template
 
|format=template
 
|template=Log List Single
 
|template=Log List Single
 +
|limit=99999
 
|sort=Log Date  
 
|sort=Log Date  
 
|order=descending
 
|order=descending
|default=No logs submitted yet.
+
|default={{!}} colspan=3 {{!}} No logs submitted yet.
 
}}
 
}}
|}
+
|}</includeonly><noinclude>
 +
To include character logs:
 +
<pre>{{Character Logs}}</pre>
 +
 
 +
For Cutscenes:
 +
<pre>{{Character Logs|Cutscenes}}</pre>
 +
 
 +
For a specific character:
 +
<pre>{{Character Logs||Character Name}}
 +
{{Character Logs|Cutscenes|Character Name}}</pre>
 +
</noinclude>

Latest revision as of 18:33, 7 February 2013

To include character logs:

{{Character Logs}}

For Cutscenes:

{{Character Logs|Cutscenes}}

For a specific character:

{{Character Logs||Character Name}}
{{Character Logs|Cutscenes|Character Name}}