Cannabis Ruderalis

Content deleted Content added
m Reverted edits by Alzahranims (talk) to last version by Edokter
Alzahranims (talk | contribs)
No edit summary
Line 1: Line 1:
{{Wiki markup}}
{{Direct labor cost}}
{{shortcut|H:HTML|WP:HTML}}
For many HTML elements, more convenient wikitext code is available, see [[Help:Wiki markup]], however there are some situations in which the HTML alternative is useful, for example creating a link to a particular element of a table.


==Direct labor cost Definition==
==Permitted HTML==
''Direct labor cost'' is a Part of wage-bill or payroll that can be specifically and consistently assigned to or associated with the manufacture of a product, a particular work order, or provision of a service also, we can say also it is the cost of the work done by those worker who actually make the product on the production line.
The following [[HTML element]]s are currently permitted:
{{Colbegin|3}}
* [[HTML element#General|<abbr>]]
**Marks an abbreviation, and can make the full form available: <abbr title="abbreviation">abbr.</abbr>
* [[HTML element#Presentation|&lt;b&gt;]]
**<b>Sets font to boldface where possible</b>
* [[HTML element#Presentation|&lt;big&gt;]]
**<big>Increases</big> font size
* [[HTML element#Other block elements|&lt;blockquote&gt;]]
**A block-level quotation, <blockquote>for when the quotation includes block level elements,</blockquote> e.g. paragraphs
* [[HTML element#Other inline elements|&lt;br&gt;]]
**A forced<br /> line-break
* [[HTML element#Tables|&lt;caption&gt;]]
**<table><caption>Specifies a caption for a table</caption></table>
* [[HTML element#Other block elements|&lt;center&gt;]]
**<center>Creates a block-level center-aligned division</center>
* [[HTML element#Other inline elements|&lt;cite&gt;]]
**<cite>A citation</cite>
* [[HTML element#Computer phrase elements|&lt;code&gt;]]
**<code>A code snippet</code>
* [[HTML element#Lists|&lt;dd&gt;]]
**<dl><dd>The definition of a term,</dd><dd>in a definition list</dd></dl>
* [[HTML element#Other block elements|&lt;del&gt;]]
**<del>Deleted text</del>
* [[HTML element#Other block elements|&lt;div&gt;]]
**<div>A block-level logical division</div>
* [[HTML element#Lists|&lt;dl&gt;]]
**<dl>A definition list (consisting of definition terms paired with definitions)</dl>
* [[HTML element#Lists|&lt;dt&gt;]]
**<dl><dt>A definition term</dt><dt>in a definition list</dt></dl>
* [[HTML element#General|&lt;em&gt;]]
**<em>Emphasis</em>
* [[HTML element#Presentation|&lt;font&gt;]]
**<font color="green" size="-1" face="Courier">Can specify the font color, typeface and size.</font>
* [[HTML element#Basic text|&lt;h1&gt;]] - [[HTML element#Basic text|&lt;h6&gt;]]
**<h3>Section headings at different levels.</h3>
* [[HTML element#Other block elements|&lt;hr&gt;]]
**<hr>A horizontal rule</hr>
* [[HTML element#Presentation|&lt;i&gt;]]
**<i>Sets font to italic where possible</i>
* [[HTML element#Other block elements|&lt;ins&gt;]]
**<ins>Inserted text</ins>
* [[HTML element#Lists|&lt;li&gt;]]
:<li>A list item in ordered (ol)</li><li>or unordered (ul) lists</li>
* [[HTML element#Lists|&lt;ol&gt;]]
:<ol><li>An ordered...</li><li>(enumerated) list</li></ol>
* [[HTML element#Basic text|&lt;p&gt;]]
**Creates a <p>paragraph,</p> perhaps the most common block level element
* [[HTML element#Other block elements|&lt;pre&gt;]]
**<pre>Pre-formatted text</pre>
* [[Ruby character#Ruby markup|&lt;rb&gt;]]
**東 vs <ruby style="font-size:1.2em;"><rb>東</rb></ruby>
* [[Ruby character#Ruby markup|&lt;rp&gt;]]
**( vs <ruby style="font-size:1.2em;"><rp>(</rp></ruby>
* [[Ruby character#Ruby markup|&lt;rt&gt;]]
**とう vs <ruby style="font-size:1.2em;"><rt>とう</rt></ruby>
* [[Ruby character#Ruby markup|&lt;ruby&gt;]]
**東(とう)京(きょう) vs <ruby style="font-size:1.2em;"><rb>東</rb><rp>(</rp><rt>とう</rt><rp>)</rp></ruby>
<ruby style="font-size:1.2em;"><rb>京</rb><rp>(</rp><rt>きょう</rt><rp>)</rp></ruby>
* [[HTML element#Presentation|&lt;s&gt; &lt;strike&gt;]]
**<s>Strike-through text</s>
* [[HTML element#Presentation|&lt;small&gt;]]
**<small>Decreases</small> font size
* [[HTML element#Span|&lt;span&gt;]]
**<span>An inline logical division</span>
* [[HTML element#General|&lt;strong&gt;]]
**<strong>Strong emphasis</strong>
* [[HTML element#Other inline elements|&lt;sub&gt;]]
**Mark<sub>subscript</sub>
* [[HTML element#Other inline elements|&lt;sup&gt;]]
**Mark<sup>superscript</sup>
* [[HTML element#Tables|&lt;table&gt;]]
**<table>Identifies a table</table>
* [[HTML element#Tables|&lt;td&gt;]]
**<table><td>A table data cell</td></table>
* [[HTML element#Tables|&lt;th&gt;]]
**<table><th>A table header cell; contents are conventionally displayed bold and centered</th></table>
* [[HTML element#Tables|&lt;tr&gt;]]
**<table><tr>Contains a row of cells in a table</tr></table>
* [[HTML element#Presentation|&lt;tt&gt;]]
**<tt>Fixed-width font</tt>
* [[HTML element#Presentation|&lt;u&gt;]]
**<u>Underlines text</u>
* [[HTML element#Lists|&lt;ul&gt;]]
:<ul><li>An unordered...</li><li>(bulleted) list</li></ul>
* [[HTML element#Computer phrase elements|&lt;var&gt;]]
**<var>Indicates a variable</var>
* [[HTML element#Comments|&lt;!-- ... --&gt;]]
**<nowiki><!--Non-visible comment--></nowiki>
{{Colend}}


==The labor cost is determined by:-==
==Anchors==
*Planning the work to be performed.
HTML tags allow an <code>id</code> attribute that can be referenced in one's [[Help:User style|user style]] CSS, and allows the element to be used as link target.
*Describing the job content of the work, by indicating the skill, knowledge, etc.
*Matching the jobs with the employees.


==Why we need to calculate direct labor cost?==
However, the anchor element <code>a</code> is not allowed, so the wikitext
In any company we need to find the manufacturing cost during the year so if we want to find it we must find the direct labor cost, direct material cost and manufacturing overhead
<code><nowiki><a href="http://meta.wikimedia.org/">Main Page</a></nowiki></code>
is treated like the wikitext
<code><nowiki>&amp;lt;a href="http://meta.wikimedia.org/"&amp;gt;Main Page&amp;lt;/a&amp;gt;</nowiki></code>
and is therefore displayed as
{{Quote|1=<a href="http://meta.wikimedia.org/">Main Page</a>}}
which is unlikely to be what the editor intended. Instead of using the anchor element (&lt;a&gt;) the wiki markup for external reference is required (enclosed in square brackets with the URL separated from the contents by a single space):
<code><nowiki>[http://meta.wikimedia.org/ Main Page]</nowiki></code>
displays as
{{Quote|[http://meta.wikimedia.org/ Main Page]}}


==Calculation of direct labor cost==
The following excerpt from [http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Sanitizer.php?view=markup Sanitizer.php] additionally shows which attributes are allowed.
In the direct labor cost we need to have the job time and wage we will pay it to the worker to can calculate the direct labor cost as in this formulation:-
''Direct labor cost = job time × wage''
==The wage==
In the companies the wages have to be decided by the manager in one of the two ways:-
*1-job attendance: job attendance wage means we calculate the total hour the worker attend the job here we can use the time ticket which is a document that record the employee's hour-by-hour activities during a day and multiply it by the hourly rate of the work
*2-performance: the performance wage means we calculate how many picas does the worker produce during his shift and multiply by the rate of producing one piece
==Calculate job time==
The job time need to be measured from the firm by one of the two ways we have it:-
==1-time study:-==
When we want to start to find the job we need certain items of equipment are essential. Basic time study equipment consists of:
- a stop-watch;
- a study board;
- time study forms;
although any or all of these may be replaced with electronic equivalents as will be indicated later on.


==Steps in making a time study==
<source lang="php">
To find direct labor cost we need to find the time study which is usually consists of the following eight steps:
$htmlpairsStatic = array( # Tags that must be closed
*1- Obtaining and recording all the information available about the job, the operative and the surrounding conditions, which is likely to affect the carrying out of the work.
'b', 'del', 'i', 'ins', 'u', 'font', 'big', 'small', 'sub', 'sup', 'h1',
*2- Recording a complete description of the method, breaking down the operation into "elements".
'h2', 'h3', 'h4', 'h5', 'h6', 'cite', 'code', 'em', 's',
*3- Examining the detailed breakdown to ensure that the most effective method and motions are being used, and determining the sample size.
'strike', 'strong', 'tt', 'var', 'div', 'center',
*4- Measuring with a timing device (usually a stop-watch) and recording the time taken by the operative to perform each "element" of the operation.
'blockquote', 'ol', 'ul', 'dl', 'table', 'caption', 'pre',
*5- At the same time, assessing the effective speed of working of the operative relative to the observer's concept of the rate corresponding to standard rating.
'ruby', 'rt' , 'rb' , 'rp', 'p', 'span', 'u', 'abbr'
*6- Extending the observed times to "basic times".
);
*7- Determining the allowances to be made over and above the basic time for the operation.
$htmlsingle = array(
*8- Determining the "standard time (Ts)” for the operation.
'br', 'hr', 'li', 'dt', 'dd'
);
$htmlsingleonly = array( # Elements that cannot have close tags
'br', 'hr'
);
$htmlnest = array( # Tags that can be nested--??
'table', 'tr', 'td', 'th', 'div', 'blockquote', 'ol', 'ul',
'dl', 'font', 'big', 'small', 'sub', 'sup', 'span'
);
$tabletags = array( # Can only appear inside table, we will close them
'td', 'th', 'tr',
);
$htmllist = array( # Tags used by list
'ul','ol',
);
$listtags = array( # Tags that can appear in a list
'li',
);
</source>


== Tags ==
==2-work sampling:-==
In work sampling to find the direct labor cost we need to do the

Following steps:
{{mlw|HTML element|Span|<code>'''&lt;span>'''</code>}} is a generic inline text container.
*1. visits the workplace randomly.

*2. In every visit to the workplace, we indicate the element of work the
<code>'''&lt;font>'''</code> is a similar tag which is [[deprecation|deprecate]]d (should not be used) in favor of <nowiki><span></nowiki>.''
Employees are engaged in.

*3. Find the total under each element.
For example
*4. We find the stander time for every unit (Ts)
<source lang=html4strict>
a <font color="red">red</font> word.
</source>
produces the same result as
<source lang=html4strict>
a <span style="color:red">red</span> word.
</source>

See also {{tim|font size demo}} and [[m:Help:Text color]].

It's pointless to combine the legacy tag <tt>&lt;font&gt;</tt>
with inline CSS; legacy browsers would ignore the CSS, while
modern browsers support <tt>&lt;span&gt;</tt> (see above).

Note that in most cases, one can use a more descriptive tag, for instance, <strong><nowiki><strong></nowiki></strong> to indicate an important piece of text, or <em><nowiki><em></nowiki></em> (subject to the same things as strong) to indicate an emphasized piece of text.

This not only draws the user's attention to the text, but can also alert those who are using nonvisual browsers or have sight impairments, etc. to the fact that that is <em>emphasized text</em>.

===Using <nowiki><span></nowiki> as a link target===

The standard way of providing a named anchor as an invisible target (i.e. <code><a name="Foo"></code>) doesn't work (since all <code><a></code> tags are converted), and [http://www.w3.org/TR/html401/struct/links.html an alternative suggested by the W3C], <code><nowiki><hN id="Foo"></hN></nowiki></code>, produces an "[Edit]" link.

However, <code><nowiki><span id="Foo"/></nowiki></code> does produce a target that can be the destination of a link. (This is silently changed to <code><nowiki><span id="Foo"></span></nowiki></code>). Note that it doesn't work everywhere; for instance, in a table, it has to be inside a cell before some browsers will jump to it properly.

This technique can be used to produce immutable links from one article to a section of another, which continue to work even if the section name is changed by someone who does not realize that another article links there. For example, <code><nowiki><span id="immutable link from Article"/></nowiki></code>.

===<nowiki><div></nowiki>===
<code>'''&lt;div>'''</code> is a generic block container. Rules:
* <nowiki><div></nowiki> should be followed by a newline
* <nowiki></div></nowiki> should be preceded by a newline
*<nowiki></div></nowiki> followed by text on the same line, two newlines and text before <nowiki><div></nowiki> on the same line should be avoided (because the two newlines only produce a space)

===HTML comment===
Using {{tim|t}}:
*{{xpd|t}}
*"<code><nowiki>{{subst:xpd|t}}</nowiki>"</code> gives "&lt;!--t-->start-pqr-end", producing HTML code without the comment.
The "Remove comments" option of [[mw:Extension:ExpandTemplates|ExpandTemplates]] selects whether comments are removed, not just in the final result but throughout the expansion process. This affects the result of parser functions: a comment in the expression of #expr or in the condition of #ifexpr gives an error message unless "Remove comments" is on, and comments affect #if and #ifeq.

Example:

Wikitext:
----
<pre>
{{#expr:<!--p-->3}}

{{#ifeq:<!--p-->3|3|1|0}}

{{#if:<!--p-->|1|0}}
</pre>
----
Result of normal expansion, and of ExpandTemplates with "Remove comments" on:
----
{{#expr:<!--p-->3}}

{{#ifeq:<!--p-->3|3|1|0}}

{{#if:<!--p-->|1|0}}
----
Result of full substitution, and of ExpandTemplates with "Remove comments" off:
----
0

0

1
----
Therefore it is typically better to avoid comments in these places, and to put the comment before or after the parser function.

In the case of nested parser functions, to avoid having to put the comments outside the whole, an alternative is <nowiki>{{void|</nowiki>''comment''}}. In the case of substitution of the parser function, "void" has to be substituted too, e.g. in a template allowing multi-level substitution we can put <nowiki>{{{{{subst1|}}}#expr:3*{{{1}}} {{{{{subst1|}}}void|</nowiki> multiply by 3 }}}}.

Another alternative is making the comment the name of a parameter (in the likely case that it is unused), with the empty string as default, e.g. <nowiki>{{{ multiply by 3 |}}} or, to recognize the intention, use pseudo comment tags: {{{<!- multiply by 3 ->|}}}, or real ones, if the empty string is not used as parameter: {{{<!-- multiply by 3 -->|}}}</nowiki>.

See also {{tim|t comment}}.

== Attributes ==

Most tags can have a <tt>style</tt> attribute. For example
<source lang=html4strict>
<div style="font-size:80%">
This is <span style="color:red">red</span> text.
</div>
</source>
produces:
<blockquote style="border:1px dotted gray; padding-left:20px">
<div style="font-size:80%">
This is <span style="color:red">red</span> text.
</div>
</blockquote>

Most tags can have classes and IDs. They can be used in conjunction with stylesheets to give a piece of text a descriptive class (or unique identifier) and to refer to that in a stylesheet.
For example

<source lang=html4strict>
<div class="infobox">Example infobox</div>
</source>

<div class="infobox">Example infobox</div>
Produces the box which floats on the right because <tt>infobox</tt> class is already defined in local [[Mediawiki:Common.css]].
<br style=clear:all>

Classes and IDs can also be used by Javascript code, for example see [[:en:Template_talk:Link_FA#How_does_it_work.3F|how {Link FA} works]] in enwiki.

Classes are also widely used to create [[microformat]]s. See [[WP:UF|the microformats project]] for more information. Some [[Wikipedia:WikiProject Microformats/classes|class names are reserved]] for use in microformats.

Another attribute example is <tt>title</tt>, for example used in {{tl|H:title}} template: note the hover box over "20000 ft"
<blockquote style="border:1px dotted gray; padding-left:20px">
"a height of {{h:title|6.1 km|20000 ft}} above sea level"
</blockquote>

<!--
This is suitable if the color is specifically intended to be red; if it is just for emphasis a more general term for the class would be more appropriate, because css allows the user to choose another method of emphasis (another color, bold, enlarged, etc.).

Note that many readers will not have their own css with such lines as ".red {color:red}", so one cannot refer to "the red text above", etc.
-->

== Tags with special effect ==
=== Pre ===
<nowiki><pre></nowiki> tags work as the combination of <nowiki><nowiki></nowiki> and the standard HTML <nowiki><pre></nowiki> tag: the content will preformatted, and it will not be parsed, but shown as in the wikitext source. If you want preformatted but parsed text, use a space in the beginning of the line instead. For example,

<nowiki><pre>This word is <b>bold</b>.</pre>
This word is <b>bold</b>.</nowiki>
will render as

<pre>This word is <b>bold</b>.</pre>
This word is <b>bold</b>.

=== Comments ===
<b>HTML comments in the wikitext (<nowiki><!-- ... --></nowiki>) will not appear in the HTML code at all.</b>

=== Headers ===
Headers (<nowiki><h1>...<h6></nowiki>) will be treated in a similar way as wikicode headers:

<h6>sample header</h6>

Note that it appears in the table of contents and has an accompanying edit link. There are some minor differences though: editing such a section won't prefill the edit summary, and the browser won't jump to the beginning of the section when saving the page. Thus, you should use the wikitext equivalents instead.

== Exceptions ==
In some pages in the MediaWiki namespace (typically the short messages like button labels) HTML does not work, and e.g. &lt;span id=abc&gt; produces the HTML &amp;lt;span id=abc&amp;gt; rendered by the browser as &lt;span id=abc&gt;. Some others are interpreted as pure HTML (thus any tag can be used, but wikicode won't be transformed to HTML).

User CSS and JS pages (see [[Help:User style]]) are interpreted as if inside a <nowiki><pre></nowiki> block. From MW 1.11 this also goes for sitewide CSS/JS; in earlier versions, you have to manually add <tt><nowiki>/*<pre>*/</nowiki></tt> to the beginning and <tt><nowiki>/*</pre>*/</nowiki></tt> to the end of those pages to avoid strange rendering.

==Validation==
{{main|Help:Markup validation}}
The MediaWiki software attempts to catch HTML errors, but it does not catch all of them. If you use HTML in wikitext, it is helpful to verify it with the [[W3C Markup Validation Service]].

==See also==
*[[Wikipedia:Span tags]]

== External links ==
* HTML 4.01 specification: [http://www.w3.org/TR/html401/index/elements.html elements] | [http://www.w3.org/TR/html401/index/attributes.html attributes]
* For customizing the handling of HTML in MediaWiki, see the HTML and Tidy sections in [[mw:Manual:Configuration settings]]
* Some extensions allow adding arbitrary HTML to a page, for example [[mw:Extension:AddHTML]], [[mw:Extension:SecureHTML]] and [[mw:Extension:Secure HTML]]; see [[mw:Manual:$wgRawHtml|$wgRawHtml]] for a more complete list
* Within the MediaWiki codebase, these HTML checks happen in [http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Sanitizer.php includes/Sanitizer.php]

[[Category:Editor handbook]]
[[Category:Wikipedia editor help]]

[[pt:Ajuda:HTML]]
[[sv:Wikipedia:Taggar]]
[[zh:Help:HTML]]

Revision as of 22:42, 15 January 2011

Template:Direct labor cost

Direct labor cost Definition

Direct labor cost is a Part of wage-bill or payroll that can be specifically and consistently assigned to or associated with the manufacture of a product, a particular work order, or provision of a service also, we can say also it is the cost of the work done by those worker who actually make the product on the production line.

The labor cost is determined by:-

  • Planning the work to be performed.
  • Describing the job content of the work, by indicating the skill, knowledge, etc.
  • Matching the jobs with the employees.

Why we need to calculate direct labor cost?

In any company we need to find the manufacturing cost during the year so if we want to find it we must find the direct labor cost, direct material cost and manufacturing overhead

Calculation of direct labor cost

In the direct labor cost we need to have the job time and wage we will pay it to the worker to can calculate the direct labor cost as in this formulation:- Direct labor cost = job time × wage

The wage

In the companies the wages have to be decided by the manager in one of the two ways:-

  • 1-job attendance: job attendance wage means we calculate the total hour the worker attend the job here we can use the time ticket which is a document that record the employee's hour-by-hour activities during a day and multiply it by the hourly rate of the work
  • 2-performance: the performance wage means we calculate how many picas does the worker produce during his shift and multiply by the rate of producing one piece

Calculate job time

The job time need to be measured from the firm by one of the two ways we have it:-

1-time study:-

When we want to start to find the job we need certain items of equipment are essential. Basic time study equipment consists of: - a stop-watch; - a study board; - time study forms; although any or all of these may be replaced with electronic equivalents as will be indicated later on.

Steps in making a time study

To find direct labor cost we need to find the time study which is usually consists of the following eight steps:

  • 1- Obtaining and recording all the information available about the job, the operative and the surrounding conditions, which is likely to affect the carrying out of the work.
  • 2- Recording a complete description of the method, breaking down the operation into "elements".
  • 3- Examining the detailed breakdown to ensure that the most effective method and motions are being used, and determining the sample size.
  • 4- Measuring with a timing device (usually a stop-watch) and recording the time taken by the operative to perform each "element" of the operation.
  • 5- At the same time, assessing the effective speed of working of the operative relative to the observer's concept of the rate corresponding to standard rating.
  • 6- Extending the observed times to "basic times".
  • 7- Determining the allowances to be made over and above the basic time for the operation.
  • 8- Determining the "standard time (Ts)” for the operation.

2-work sampling:-

In work sampling to find the direct labor cost we need to do the Following steps:

  • 1. visits the workplace randomly.
  • 2. In every visit to the workplace, we indicate the element of work the

Employees are engaged in.

  • 3. Find the total under each element.
  • 4. We find the stander time for every unit (Ts)

Leave a Reply