Template:ND-doc: Difference between revisions

From NDWiki
Jump to navigation Jump to search
m (Cleanup from testing)
(Testing new look)
Line 1: Line 1:
<includeonly>Norsk Data Document [[{{ND-doc-lookup|{{{1}}}}}|{{#explode:{{ND-doc-lookup|{{{1}}}}}|#|1}}]] {{{2|}}}</includeonly><noinclude>
<includeonly>Norsk Data Document {{{1}}} [[{{ND-doc-lookup|{{{1}}}}}|{{#sub:{{#explode:{{ND-doc-lookup|{{{1}}}}}|#|1}}|9}}]] {{{2|}}}</includeonly><noinclude>


This template takes a Norsk Data Manual number and makes a link to it in the [[Documentation list]]. A optional string is added in the end.
This template takes a Norsk Data Manual number and makes a link to it in the [[Documentation list]]. A optional string is added in the end.


==Example==
==Example==
'''<nowiki>{{ND-doc|02.004|Chapter 7}}</nowiki>''' gives
'''<nowiki>{{ND-doc|06.014.02|Chapter 7}}</nowiki>''' gives


{{ND-doc|02.004|Chapter 7}}
{{ND-doc|06.014.02|Chapter 7}}


[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 02:16, 17 January 2009


This template takes a Norsk Data Manual number and makes a link to it in the Documentation list. A optional string is added in the end.

Example

{{ND-doc|06.014.02|Chapter 7}} gives

Norsk Data Document 06.014.02 ND-100 REFERENCE MANUAL Chapter 7