Talk:Items: Difference between revisions
No edit summary |
No edit summary |
||
Line 81: | Line 81: | ||
:: Hm. Seems that you can't make a sorter from a non-top cell... I'll look into it now. [[User:Kelenius|Kelenius]] 17:01, 15 June 2012 (BST) | :: Hm. Seems that you can't make a sorter from a non-top cell... I'll look into it now. [[User:Kelenius|Kelenius]] 17:01, 15 June 2012 (BST) | ||
Idea... [[User:Kelenius|Kelenius]] 17:22, 15 June 2012 (BST) | |||
{| class="wikitable sortable" style="text-align:center;" | |||
|- | |||
!Item | |||
! class="unsortable" |Description | |||
! class="unsortable" |Condition | |||
!Hunger | |||
!Thirst | |||
!Boredom | |||
!Unhappy | |||
!Sickness | |||
|- | |||
| rowspan="2" |[[File:Apple.png|32px]] | |||
[[Apple]] | |||
| rowspan="2" |A lucious red apple that can lift any survivor's hopes. | |||
| Normal | |||
| -30 | |||
| - | |||
| - | |||
| - | |||
| No | |||
|- | |||
| Rotten | |||
| ? | |||
| ? | |||
| ? | |||
| ? | |||
| Yes | |||
|- | |||
|rowspan="4" |[[File:Chicken.png|32px]] | |||
[[Chicken]] | |||
|rowspan="4" |A piece of raw chicken. Better when cooked to avoid sickness. | |||
|Raw | |||
| -40 | |||
| - | |||
| - | |||
| - | |||
|Yes | |||
|- | |||
|Cooked | |||
| -80 | |||
| - | |||
| -20 | |||
| - | |||
|No | |||
|- | |||
|Rotten | |||
| -20 | |||
| ? | |||
| ? | |||
| ? | |||
|Yes | |||
|- | |||
|Burnt | |||
| ? | |||
| ? | |||
| ? | |||
| ? | |||
|No | |||
|} | |||
It gets buggy when you try to sort anything in it. [http://meta.wikimedia.org/wiki/Help:Sorting#Cell_spanning_multiple_rows.2Fcells Example on this page] is working fine, seems to be different version. [[User:Kelenius|Kelenius]] 17:22, 15 June 2012 (BST) | |||
Maybe | |||
{| class="wikitable sortable" style="text-align:center;" | |||
|- | |||
!Item | |||
! class="unsortable" |Description | |||
! class="unsortable" |Condition | |||
!Hunger | |||
!Thirst | |||
!Boredom | |||
!Unhappy | |||
!Sickness | |||
|- | |||
|[[File:Apple.png|32px]] | |||
[[Apple]] | |||
|A lucious red apple that can lift any survivor's hopes. | |||
| Normal | |||
| -30 | |||
| - | |||
| - | |||
| - | |||
| No | |||
|- | |||
|[[File:Apple_Rotten.png|32px]] | |||
Rotten [[Apple]] | |||
|A rotten red apple. | |||
| Rotten | |||
| ? | |||
| ? | |||
| ? | |||
| ? | |||
| Yes | |||
|} | |||
With different rows for every condition? [[User:Kelenius|Kelenius]] 17:22, 15 June 2012 (BST) |
Revision as of 17:22, 15 June 2012
Idea for the food table
Instead of what we have now, how about something like
I'm not sure how, but I think we would be able to make those rows sortable.
- I like it.The instructions for sortable tables should be here - http://www.mediawiki.org/wiki/Help:Sorting Pianoman 13:36, 15 June 2012 (BST) PzAdmin
- Hm. Seems that you can't make a sorter from a non-top cell... I'll look into it now. Kelenius 17:01, 15 June 2012 (BST)
Idea... Kelenius 17:22, 15 June 2012 (BST)
It gets buggy when you try to sort anything in it. Example on this page is working fine, seems to be different version. Kelenius 17:22, 15 June 2012 (BST)
Maybe
Item | Description | Condition | Hunger | Thirst | Boredom | Unhappy | Sickness |
---|---|---|---|---|---|---|---|
A lucious red apple that can lift any survivor's hopes. | Normal | -30 | - | - | - | No | |
File:Apple Rotten.png
Rotten Apple |
A rotten red apple. | Rotten | ? | ? | ? | ? | Yes |
With different rows for every condition? Kelenius 17:22, 15 June 2012 (BST)