Difference between revisions of "Talk:NewFromTemplateSpec"

From Inkscape Wiki
Jump to navigation Jump to search
Line 20: Line 20:
  
 
[[User:Binnette|Binnette]] 21:54, 4 March 2010 (UTC)
 
[[User:Binnette|Binnette]] 21:54, 4 March 2010 (UTC)
 +
 +
== About attributes ==
 +
Is it possible to add completely new attributes into a svg file ? like:
 +
<sodipodi:namedview
 +
    inkscape:template-name="Web banner 728x90"
 +
    inkscape:template-name-fr="Bannière Web 728x90"
 +
    inkscape:template-category="Web/Banner"
 +
    inkscape:template-description="A banner for a website, size: 728x90 px"
 +
    ...
 +
/>
 +
 +
Also, is "sodipodi:namedview" the correct markup for template attributes ?
 +
 +
[[User:Binnette|Binnette]] 10:11, 15 May 2010 (UTC)
  
 
== Categories names ==
 
== Categories names ==

Revision as of 10:11, 15 May 2010

Point on the current template selector

The current system in order to choose a template is deprecated. It's simply a list in the menu (see picture).

  1. You can't parametrize templates (width, height, border, ...).
  2. You can't easily add new templates.
  3. You can't visualize templates before choice.
  4. The list don't respect any order.
  5. Templates are not categorized (CD, DVD, screen, ...).
  6. Templates names don't respect specifications:
    • Some contains _ between words (like icon_16x16).
    • Some templates are in french (like "Défaut") and others in english (like "business_card_...").
  7. Template list is too long. It can cause problem for netbooks.
  8. You can't make template be one of your favorites or "recently used".
  9. Commons templates of the "Document properties dialog" are not present (like A3, B2, US Letter, ...)
  10. You can't choose the units for your new drawing.

Template Selector 0.47.png

Binnette 21:54, 4 March 2010 (UTC)

About attributes

Is it possible to add completely new attributes into a svg file ? like:

<sodipodi:namedview
   inkscape:template-name="Web banner 728x90"
   inkscape:template-name-fr="Bannière Web 728x90"
   inkscape:template-category="Web/Banner"
   inkscape:template-description="A banner for a website, size: 728x90 px"
   ...
/>

Also, is "sodipodi:namedview" the correct markup for template attributes ?

Binnette 10:11, 15 May 2010 (UTC)

Categories names

Traductions

Do we have to traduce categories names ? If yes, we can add new attributes in svg files, like :

   inkscape:template:category-fr="Fond d'écran"

See ya Binnette 09:52, 15 May 2010 (UTC)

Notation

Should we use underscore between words ? like :

   inkscape:template:category="Paper_sizes"

or can we simply use:

   inkscape:template:category="Paper sizes"

Binnette 09:55, 15 May 2010 (UTC)

Keywords

I think that keywords are optionals, because they must be traduced in too many languages. And there is categories in order to find templates. Should we use them or not ?

Binnette 09:56, 15 May 2010 (UTC)

Currents categories

Background

Is "background" the same category as "Desktop" ? Binnette 09:57, 15 May 2010 (UTC)

Defaults

"default_mm.svg" and "default_pt.svg" don't respect specifications. Must be "default.mm.svg" and "default.pt.svg". Is it correct ? Binnette 09:59, 15 May 2010 (UTC)