Template talk:Sort
Latest comment: 29 May 2020 by Spriteit
What is this template for? --Bfdifan2006 16:20, 26 May 2020 (UTC)
- Apparently, it lets you create a parameter for sorting something in a sortable table, in case the text you want in a cell wouldn't be automatically sorted in the proper way. You can see it being used in this pages. Suic (talk) 16:47, 26 May 2020 (UTC)
- Yes, but most users would prefer using the
data-sort-valuefield for table cells, like this:
- Yes, but most users would prefer using the
| Table | Code | ||||||||||||||||||||||||||||||||||||||||||||
|
{| class="wikitable sortable"
! Fecha !! Wiki !! Idioma !! ¿Activo?
|-
| data-sort-value="200508" | Agosto 2005
| [[Bulbapedia]]
| Inglés
| Sí
|-
| data-sort-value="200508" | Agosto 2005
| [[PokéWiki]]
| Alemán
| Sí
|-
| data-sort-value="200606" | Julio 2006
| [[Pokémon Wiki]]
| Japonés
| Sí
|-
| data-sort-value="200704" | Abril 2007
| [[Wikinezka]]
| Polaco
| No
|-
| data-sort-value="200709" | Septiembre 2007
| [[Poképédia]]
| Francés
| Sí
|-
| data-sort-value="200712" | Deciembre 2007
| [[LANDpedia]]
| Portugués
| No
|-
| data-sort-value="200908" | Agosto 2009
| [[Pokéteca]]
| Español
| No
|-
| data-sort-value="201008" | Agosto 2010
| [[Pokémon Central Wiki]]
| Italiano
| Sí
|-
| data-sort-value="201303" | Marzo 2013
| [[52Poké Wiki]]
| Chino
| Sí
|-
| data-sort-value="201705" | Mayo 2017
| [[WikiDex]]
| Español
| Sí
|}
|
- Hope you understood. --Bfdifan2006 17:52, 26 May 2020 (UTC)
- Hey, I'm not here saying whether this is useful or not, I'm not even skilled enough in wikicode to know it for sure. I just saw you had a question that seemed reasonable, so I looked into it to see if I could answer it. Suic (talk) 18:52, 26 May 2020 (UTC)
- It appears as if it is a product of time from what I can see, if you can update the required pages to use the data-sort-value code, go ahead. --Spriteit (talk) 07:30, 27 May 2020 (UTC)
- Done: Special:Diff/3172611 and Special:Diff/3172613. That means the template can be officially archived. --Bfdifan2006 07:50, 27 May 2020 (UTC)
- No you aren't, if you compare the sorting between the revisions, you've broken how it sorts in places... --Spriteit (talk) 01:23, 29 May 2020 (UTC)
- Done: Special:Diff/3172611 and Special:Diff/3172613. That means the template can be officially archived. --Bfdifan2006 07:50, 27 May 2020 (UTC)
- It appears as if it is a product of time from what I can see, if you can update the required pages to use the data-sort-value code, go ahead. --Spriteit (talk) 07:30, 27 May 2020 (UTC)
- Hey, I'm not here saying whether this is useful or not, I'm not even skilled enough in wikicode to know it for sure. I just saw you had a question that seemed reasonable, so I looked into it to see if I could answer it. Suic (talk) 18:52, 26 May 2020 (UTC)
- Hope you understood. --Bfdifan2006 17:52, 26 May 2020 (UTC)