Template:GuiCommand/ro

From FreeCAD Documentation
Revision as of 18:58, 15 February 2019 by Mario52 (talk | contribs) (upgrade)

Official icon not found {{{Name/ro}}}

poziția meniului
{{{MenuLocation}}}
Workbenches
{{{Workbenches}}}
scurtătură
nici unul
Prezentat în versiune
-
A se vedea, de asemenea,
nici unul


Utilizare

Acest model este ancora principală în documentarea GuiCommands. Acesta ar trebui inserat ca prima linie în documente noi.

Codul minim necesar pentru utilizarea acestui șablon este: (rezultatul eșantionului la dreapta)

{{GuiCommand/ro|Name=SampleCommand|Name/ro=SampleCommand|MenuLocation=Sample → Command...|Workbenches=Wb1,Wb2}}

SampleCommand

poziția meniului
Sample → Command...
Workbenches
Wb1,Wb2
scurtătură
DefaultShortcut
Prezentat în versiune
-
A se vedea, de asemenea,
OtherTopic


Parametrii minime

Următorii parametri sunt utilizați în formatul [parameter] = [value], fiecare parametru din listă fiind separat printr-un simbol de țeavă (|):

Name
Numele corect capitalizat al comenzii trebuie documentat.
Numele este de asemenea utilizat pentru a prelua graficul de pictograme în format .PNG din depozitul WIKI.
MenuLocation
The location of the command in the FreeCAD menu structure.
Workbenches
One or more workbenches in FreeCAD that the command and icon can be found on.

Parametrii opționali

Următorii parametri sunt opționali. Dacă acestea nu sunt incluse în codul de șablon, acestea vor fi implicite la o valoare "None" sau pentru parametrul Version, un semn dash.

Shortcut
The default Keyboard shortcut as found in FreeCAD.
SeeAlso
Optional links to other related commands.
Icon
an icon with a different name as pagename.png can be used by defining the variable Icon (other format can be used eg: myIcon.svg)
Empty
if Empty=1 no icon is displayed
Version
inserts the FreeCAD version number in which the command was first introduced. No need to add the revision number. Please consider adding this parameter for all new commands.

Localizare

Codul necesar pentru acest șablon este diferit dacă utilizați o versiune localizată. Pentru mai multe informații, consultați Localization page.

  • First, a localized version of this template must exist or be created.
  • The localized template must be named:
    Template:GuiCommand/AA
    where /AA is the 2 letter code for the desired language, for example /fr = French localization.
  • The method for calling the localized GuiCommand template in a GuiCommand document is:
    {{GuiCommand/AA|Name=SampleCommand|Name/AA=SampleCommand/AA|MenuLocation=Sample → Commande...|Workbenches=Wb1,Wb2}}
    where /AA is the 2 letter code for the desired language, for example /fr = French localization.
    • In the sample code above, the Name parameter format is critical. The Name=SampleCommand allows the correct icon file to be displayed, which is not normally localized. The Name/AA=SampleCommand/AA displays the correct localized version of the GUI command documentation.
  • Make sure you add the localized version of this template to the Languages list below.

GuiCommand Model

Pentru un model complet al unui GuiCommand, a se vedea GuiCommand model.