Template talk:Subpage list: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
Line 5: Line 5:
==Default button option==
==Default button option==
Thinking a bit more about the default vs optional subpages, there seem to be two formats to consider.   
Thinking a bit more about the default vs optional subpages, there seem to be two formats to consider.   
# Subpages are always in the same relative order along the top.  Conseqently if there are two defaults A page and D page, all pages will have A and D.  But if B and C pages are present then the buttons will appear in the order A,B,C and D.
# Subpages are always in the same relative order along the top.  Conseqently if there are two defaults A page and D page, all pages will have A and D.  But if B and C pages are present then the buttons will appear in the order '''A,B,C and D'''.
# Subpages relative order along the top will depend on which subpages are designated as default. Conseqently if there are two defaults A page and D page, all pages will have A and D.  But if B and C pages are present then the buttons will appear in the order A, D, B and C.
# Subpages relative order along the top will depend on which subpages are designated as default. Conseqently if there are two defaults A page and D page, all pages will have A and D.  But if B and C pages are present then the buttons will appear in the order '''A, D, B and C'''.


Option one has the advantage that only values AAA and DDD in this list have to be labelled default.  BBB and CCC would be left blank.  This is how it is currently coded.   
Option one has the advantage that only values AAA and DDD in this list have to be designated ''Default''.  BBB and CCC would be left blank.  This is how it is currently coded.   


For the second option, BBB and CCC would have to be labelled as Optional too, but it has the advantage that the default buttons are always clustered together (is that an advantage?).  It would be easy to code it this way too. [[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 16:25, 19 July 2007 (CDT)
For the second option, BBB and CCC would have to be designated as ''Optional'' too, but it has the advantage that the default buttons are always clustered together (is that an advantage?).  It would be easy to code it this way too. [[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 16:25, 19 July 2007 (CDT)

Revision as of 17:01, 19 July 2007

Don't you think we should be using numerical IDs? Surely we'll have more than 26 subpage types in the long run. I anticipate hundreds... --Larry Sanger 14:39, 19 July 2007 (CDT)

In that case number would be good. i was using letter for now to get the A, AA, and AAA. However, 1A, 1B and 1C works equally well. Chris Day (talk) 16:25, 19 July 2007 (CDT)

Default button option

Thinking a bit more about the default vs optional subpages, there seem to be two formats to consider.

  1. Subpages are always in the same relative order along the top. Conseqently if there are two defaults A page and D page, all pages will have A and D. But if B and C pages are present then the buttons will appear in the order A,B,C and D.
  2. Subpages relative order along the top will depend on which subpages are designated as default. Conseqently if there are two defaults A page and D page, all pages will have A and D. But if B and C pages are present then the buttons will appear in the order A, D, B and C.

Option one has the advantage that only values AAA and DDD in this list have to be designated Default. BBB and CCC would be left blank. This is how it is currently coded.

For the second option, BBB and CCC would have to be designated as Optional too, but it has the advantage that the default buttons are always clustered together (is that an advantage?). It would be easy to code it this way too. Chris Day (talk) 16:25, 19 July 2007 (CDT)