Difference between revisions of "Template:ClonedFrom"

[unchecked revision] [quality revision]
(Created page with "<noinclude> ==Usage== The ClonedFrom template is used '''to indicate that a page was not in the "approved" state, when it was cloned from another wiki'...")
 
 

1 Usage[edit]

The ClonedFrom template is used to indicate that a page was not in the "approved" state, when it was cloned from another wiki (a.k.a. source wiki). Then, it is up to the editor to decide if the original page should be complete first (before modifying the cloned one), or if the modifications in the cloned page are independent of the completion of the original page.

It puts a message box with a "light blue copy" icon in the page.

Only logged-in users who have writing permissions, can see this box. However, do not put any confidential information in the parameters of this template.

Usage:  {{ClonedFrom | <source wiki>}}

Where <source wiki> is the mandatory name of the source wiki.

2 Basic examples[edit]

You type You get
ClonedFrom "stm32mpu"

<noinclude>
{{ClonedFrom | stm32mpu}}
</noinclude>

3 More examples[edit]

You type You get
No source wiki supplied

<noinclude>
{{ClonedFrom}}
</noinclude>

4 Code[edit]

<noinclude>

==Usage==
The [[Template:ClonedFrom|ClonedFrom]] template is used '''to indicate that a page was not in the "approved" state, when it was cloned from another wiki''' (a.k.a. source wiki). Then, it is up to the editor to decide if the original page should be complete first (before modifying the cloned one), or if the modifications in the cloned page are independent of the completion of the original page.

It puts a message box with a "light blue copy" icon in the page.

'''Only logged-in users who have writing permissions, can see this box'''. {{Highlight|However, do not put any confidential information in the parameters of this template}}.

 Usage:  <nowiki>{{</nowiki>ClonedFrom | {{HighlightParam|<source wiki>}}}}
Where {{HighlightParam|<source wiki>}} is the '''mandatory''' name of the source wiki.

==Basic examples==
{| class="st-table"
! style="width:30%;" | You type !! You get
|-
| ClonedFrom "stm32mpu"<pre style="white-space: pre-wrap;">
<noinclude>
{{ClonedFrom | stm32mpu}}</noinclude>
</pre>

|
{{ClonedFrom | stm32mpu}}
|}

==More examples==
{| class="st-table"
! style="width:30%;" | You type !! You get
|-
| No source wiki supplied<pre style="white-space: pre-wrap;">
<noinclude>
{{ClonedFrom}}</noinclude>
</pre>

|
{{ClonedFrom}}
|}

==Code==</noinclude>{{#tag:secureTransclude||
src=ProtectedTemplate:ClonedFrom|
params={{{1|}}} {{!}} {{FULLPAGENAME}}
}}
Line 16: Line 16:
 
| ClonedFrom "stm32mpu"
 
| ClonedFrom "stm32mpu"
 
<pre style="white-space: pre-wrap;">
 
<pre style="white-space: pre-wrap;">
<noinclude>
 
 
{{ClonedFrom | stm32mpu}}
 
{{ClonedFrom | stm32mpu}}
</noinclude>
 
 
</pre>
 
</pre>
 
|
 
|
Line 30: Line 28:
 
| No source wiki supplied
 
| No source wiki supplied
 
<pre style="white-space: pre-wrap;">
 
<pre style="white-space: pre-wrap;">
<noinclude>
 
 
{{ClonedFrom}}
 
{{ClonedFrom}}
</noinclude>
 
 
</pre>
 
</pre>
 
|
 
|