Difference between revisions of "Template:Powerlist"

From Flexible Survival
Jump to: navigation, search
 
(9 intermediate revisions by one other user not shown)
Line 11: Line 11:
 
margin-top: 0;
 
margin-top: 0;
 
}
 
}
</css><includeonly>{{#ifeq: {{{ordermethod}}} | gamedate |
+
</css><includeonly>{{#ifeq: {{{ordermethod}}} | name |
 
{{ #dpl:
 
{{ #dpl:
 
| namespace=Logs
 
| namespace=Logs
Line 22: Line 22:
 
| tablerow=\n* (%%),%%
 
| tablerow=\n* (%%),%%
 
| columns={{{columns|3}}}
 
| columns={{{columns|3}}}
| rowcolformat=width=100%
+
| rowcolformat=width=50%
 
| noresultsheader=''No mutant powers based on this power detected.''
 
| noresultsheader=''No mutant powers based on this power detected.''
 
}}
 
}}
 
|
 
|
 
{{ #dpl:  
 
{{ #dpl:  
|+Mutant powers Based on this power:
 
 
| userdateformat=(y.m.d)
 
| userdateformat=(y.m.d)
 
| linksto={{{name|{{BASEPAGENAME}} }}}
 
| linksto={{{name|{{BASEPAGENAME}} }}}
 
| ordermethod=firstedit
 
| ordermethod=firstedit
| addeditdate=true
+
| addeditdate=false
 
| shownamespace=false
 
| shownamespace=false
 
| columns={{{columns|3}}}
 
| columns={{{columns|3}}}
| rowcolformat=width=100%
+
| rowcolformat=width=50%
 
| noresultsheader=''No mutant powers based on this power detected.''
 
| noresultsheader=''No mutant powers based on this power detected.''
 
}}
 
}}
}}</includeonly><noinclude>
+
}}
 +
</includeonly><noinclude>
 
{|
 
{|
 
! How to include a dynamic log list in your page:
 
! How to include a dynamic log list in your page:
Line 47: Line 47:
 
The name, column and ordermethod parameters are optional. Name will default to the title of the page and columns will default to three. Ordermethod is less self-explanatory. It takes the values "date" and "gamedate" and determines whether the logs will be sorted by date of posting or the date of the IC events stipulated in the log. Logs without a proper gamedate value will not show up if the latter option is selected. If ordermethod malformed or unspecified, the logs will be automatically organized by the date of posting.
 
The name, column and ordermethod parameters are optional. Name will default to the title of the page and columns will default to three. Ordermethod is less self-explanatory. It takes the values "date" and "gamedate" and determines whether the logs will be sorted by date of posting or the date of the IC events stipulated in the log. Logs without a proper gamedate value will not show up if the latter option is selected. If ordermethod malformed or unspecified, the logs will be automatically organized by the date of posting.
 
|}
 
|}
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 01:56, 26 February 2018

How to include a dynamic log list in your page:
{{ RP Logs | name = Eugene | columns = 3 | ordermethod = gamedate }}

The name, column and ordermethod parameters are optional. Name will default to the title of the page and columns will default to three. Ordermethod is less self-explanatory. It takes the values "date" and "gamedate" and determines whether the logs will be sorted by date of posting or the date of the IC events stipulated in the log. Logs without a proper gamedate value will not show up if the latter option is selected. If ordermethod malformed or unspecified, the logs will be automatically organized by the date of posting.