Drawing templates/sv: Difference between revisions
Renatorivo (talk | contribs) (page) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
Creating templates for the Drawing module is very easy. They are svg files, created with any application capable of exporting svg files, such as [http://www.inkscape.org Inkscape]. Only two rules must be followed: |
|||
* |
* One pixel = one millimeter |
||
* You must insert, somewhere inside your svg code, where you want the contents of the drawing to appear (for example at the end of the file, just before the last </svg> tag), the following line: |
|||
* Någonstans i svg koden så måste du sätta in var du vill att ritningsinnehållet ska synas (Till exempel i slutet av filen, precis innan den sista </svg> taggen), följande rad: |
|||
<syntaxhighlight> |
|||
<!-- DrawingContent --> |
|||
</syntaxhighlight> |
|||
* Several custom attributes can be placed in templates. The list of currently supported attributes is available on the [[Svg Namespace]] page. |
|||
== A3 |
== A3 templates == |
||
[[Image:A3_Classic.svg|800px]] |
[[Image:A3_Classic.svg|800px]] |
||
Line 14: | Line 17: | ||
[[Image:A3_Showcase.svg|800px]] |
[[Image:A3_Showcase.svg|800px]] |
||
[[File:A3_Landscape_english.svg|800px]] |
|||
{{languages/sv | {{en|Drawing_templates}} {{es|Drawing_templates/es}} {{fr|Drawing_templates/fr}} }} |
|||
== A4 Templates == |
|||
=== Landscape: === |
|||
[[File:A4_Landscape_english.svg|800px]] |
|||
=== Portrait: === |
|||
[[File:A4_Portrait_1_english.svg|400px]] |
|||
== US Letter Templates == |
|||
=== Landscape: === |
|||
[[File:US_Letter_landscape.svg|800px]] |
|||
=== Portrait: === |
|||
[[File:US_Letter_portrait.svg|400px]] |
|||
==Other standards available== |
|||
[[ANSI_templates|ANSI templates]], [[Arch_templates|Arch templates]], [[Misc_templates|Misc templates]] and build |
|||
[[Category:Documentation]] |
|||
<languages/> |
Revision as of 20:55, 9 January 2014
Creating templates for the Drawing module is very easy. They are svg files, created with any application capable of exporting svg files, such as Inkscape. Only two rules must be followed:
- One pixel = one millimeter
- You must insert, somewhere inside your svg code, where you want the contents of the drawing to appear (for example at the end of the file, just before the last </svg> tag), the following line:
<!-- DrawingContent -->
- Several custom attributes can be placed in templates. The list of currently supported attributes is available on the Svg Namespace page.
A3 templates
A4 Templates
Landscape:
Portrait:
US Letter Templates
Landscape:
Portrait:
Other standards available
ANSI templates, Arch templates, Misc templates and build