Template:FishTable: Difference between revisions
From HorizonXI Wiki
(Created page with "<includeonly><onlyinclude> {{#dpl: |category = {{{1|}}} |category = {{{2|}}} |category = {{{3|}}} |notcategory = {{{notcat1|}}} |notcategory = {{{notcat2|}}} |notcategory = {{{notcat3|}}} |title = {{{title1|}}} |title = {{{title2|}}} |title = {{{title3|}}} |title = {{{title4|}}} |title = {{{title5|}}} |title = {{{title6|}}} |include={Fishing¦FishTable.dpl} |table=class="horizon-table fishing-table table-sm center-col-2",Name,Cap,Location,Bait,Rods |tablesortcol=2 }} </o...") |
m (added css class to change the size of the table) |
||
Line 14: | Line 14: | ||
|title = {{{title6|}}} | |title = {{{title6|}}} | ||
|include={Fishing¦FishTable.dpl} | |include={Fishing¦FishTable.dpl} | ||
|table=class="horizon-table fishing-table table-sm center-col-2",Name,Cap,Location,Bait,Rods | |table=class="horizon-table fishing-table {{{size cssclass|table-sm}}} center-col-2",-,Name,Cap,Location,Bait,Rods | ||
|tablesortcol=2 | |tablesortcol=2 | ||
}} | }} | ||
Line 25: | Line 25: | ||
*Use notcat1, notcat2, notcat2 to exclude categories | *Use notcat1, notcat2, notcat2 to exclude categories | ||
*Use title1, title2, ..., title6 to include specific pages | *Use title1, title2, ..., title6 to include specific pages | ||
*use ''size cssclass'' to set a css class for the table width (table-xs, table-sm, table-md, table-xl). The default is table-sm. | |||
<pre>{{FishTable|Fishing/Amateur}}</pre> | <pre>{{FishTable|Fishing/Amateur}}</pre> | ||
{{FishTable|Fishing/Amateur}} | {{FishTable|Fishing/Amateur}} |
Revision as of 21:24, 4 September 2024
Usage
Generates tables of fish.
- Use the unnamed parameters 1, 2 and 3 to to include required categories
- (note: you can use {{!}} to use a logical OR in a category)
- Use notcat1, notcat2, notcat2 to exclude categories
- Use title1, title2, ..., title6 to include specific pages
- use size cssclass to set a css class for the table width (table-xs, table-sm, table-md, table-xl). The default is table-sm.
{{FishTable|Fishing/Amateur}}