Difference between revisions of "Template:Location logs"
From MahouMUSH
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#css: | + | <includeonly> |
− | + | {{#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;} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}} | }} | ||
− | {{Location logs|Name of Location Here}}</pre> | + | {| class="LogTable" |
+ | |- class="LogRow" | ||
+ | ! class=HeaderCell | Title | ||
+ | ! class=HeaderCell | Date | ||
+ | ! class=HeaderCell | Scene Summary | ||
+ | |- class="LogRow" | ||
+ | {{#ask:[[Category:Roleplay Logs]] [[Location::{{{1}}}]] | ||
+ | |?Log Date | ||
+ | |?Log Synopsis | ||
+ | |format=template | ||
+ | |template=Log List Single | ||
+ | |sort=Log Date, | ||
+ | |link=none | ||
+ | |order=ascending,ascending | ||
+ | |default={{!}} colspan=3 {{!}} No logs submitted yet. | ||
+ | |limit=500 | ||
+ | }} | ||
+ | |} | ||
+ | </includeonly> | ||
+ | <noinclude> | ||
+ | == Usage == | ||
+ | <pre> | ||
+ | {{location logs|Name of Location Here}} | ||
+ | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 00:20, 24 May 2017
Usage
{{location logs|Name of Location Here}}