Difference between revisions of "Template:CitePage"

From Apache OpenOffice Wiki
Jump to: navigation, search
(For referring to external links...)
 
m (Changement de catégorie.)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude> __NOTOC__
+
{{ #ifeq: {{{Legend}}}|No| ====={{{Title}}}===== |{{DISPLAYTITLE:{{{Title}}}}}'''<big>Briefly</big>'''}} <!--> If Legend <> No, Title = DISPLAYTITLE and display of "Briefly". <-->  
[[fr:Template:FR/CitePage]]
+
{| cellspacing="0" cellpadding="4" border="2" style="border: 3px solid rgb(0, 85, 221); margin: 1em 1em 1em 0pt; border-collapse: collapse; width: 100%;"
 +
|- align="left" margin-top=30px margin-left=60px
 +
| bgcolor={{Color|{{{Module}}}}} colspan="6" | {{Icon|{{{Module}}}|3|60}}<big>'''{{{Title}}}'''</big>
 +
|-
 +
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Description'''
 +
| colspan="5" | {{{Description}}}
 +
|-
 +
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Plateform'''
 +
| width="23%" | {{{OS}}}
 +
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Module'''
 +
| width="23%" | {{{Module}}}
 +
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Status''' ([[Template:CitePage#Help|Help]])
 +
| width="24%" | {{{Status}}}
 +
|-
 +
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Author(s)'''
 +
| colspan="3" | {{{Authors}}}
 +
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Date'''
 +
| {{{Date}}}
 +
|-
 +
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Address'''
 +
| colspan="5" | <center>{{{Link}}}</center>
 +
|}<noinclude>
  
 +
[[fr:Template:FR/CitePage]]
 +
{{Spacer|60}}
 
This template is inspired from [[Template:Specification_Header]] and [http://en.wikipedia.org/wiki/Wikipedia:Template_messages/Sources_of_articles#these examples of WikiPedia]. Many thanks to authors.
 
This template is inspired from [[Template:Specification_Header]] and [http://en.wikipedia.org/wiki/Wikipedia:Template_messages/Sources_of_articles#these examples of WikiPedia]. Many thanks to authors.
  
While inspired from a header, I think first it would be better as a footer.  
+
While inspired from a header, I think first it would be better as a footer. Use it at your own taste :-)
<!-- Bien qu'inspiré d'un "header", il se sent mieux en pied de page ;-) -->
+
  
 
Because additionnals comments (outside the template) could be rare and they could be best shown in the top of the page.
 
Because additionnals comments (outside the template) could be rare and they could be best shown in the top of the page.
Line 14: Line 36:
 
:Thanks in advance / Feel free to correct my mistakes, in spellchecking and... semantic, well... sense.
 
:Thanks in advance / Feel free to correct my mistakes, in spellchecking and... semantic, well... sense.
  
</noinclude>
 
{{DISPLAYTITLE:{{{Title}}}}}
 
  
'''<big>In short</big>'''
+
== Help ==
 +
* [[Template_talk:CitePage|More in the talk page...]]
 +
; Parameters not yet used : An example with the (French) forum...
 +
* The pasted link from the original page is : http://user.services.openoffice.org/fr/forum/viewtopic.php?f=29&t=6460
 +
:Site=fr:Forum (this value could reflect to the left part of the adress, in this case http://user.services.openoffice.org/fr/forum) 
 +
:SiteCode=6460 (and with this value, concat like this: http://user.services.openoffice.org/fr/forum/ftopic6460.html )
 +
It could be a manner of restricting usage to only referenced site. However I forget it for now, just keeping "footprints" of such possibility.
 +
 
 +
=== Address ===
 +
Set to the actual link(s) of the page or file. In this last case, you should also set the file type and size.
 +
 
 +
=== Authors ===
 +
Enter here the name of author(s), coma separated.
 +
 
 +
=== Date ===
 +
Set to last update of the document, in the format YYYY-MM-DD, ten characters with the two "-".
  
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0;  border: 3px #cccccc solid; border-collapse: collapse; width: 100%"
+
=== Description ===
 +
Enter a short document description, or paste the very first lines of introduction. It's often the largest part.
  
|- align="left"
+
=== Legend ===
| colspan="2" bgcolor="#e0fdef"   | '''{{{Title}}}'''
+
If set to '''No''', template don't insert ''[[#Title|Title]]'' in the DISPLAYTITLE command but in a h5 heading, to be included more than once in a page...
 +
 
 +
=== Module ===
 +
Eight values :
 +
<center>
 +
{| border="1" widht=100%
 +
|+ Two templates [[Template:Icon|Icon]] and [[Template:Color|Color]] assign (dynamiquement) icon and color.
 +
|- align: "center" bgcolor="#FFFFDD"
 +
| Base || Calc || Draw || General || Impress || Math || Wiki || Writer
 
|-
 
|-
| width="150" | '''Description''' || {{{Description}}}
+
| bgcolor={{Color| Base}} | {{Icon| Base |5|60}}
 +
| bgcolor={{Color| Calc}} | {{Icon| Calc |5|60}}
 +
| bgcolor={{Color| Draw}} | {{Icon| Draw |5|60}}
 +
| bgcolor={{Color| General}} | {{Icon| General |5|60}}
 +
| bgcolor={{Color| Impress}} | {{Icon| Impress |5|60}}
 +
| bgcolor={{Color| Math}} | {{Icon| Math |5|60}}
 +
| bgcolor={{Color| Wiki}} | {{Icon| Wiki |5|60}}
 +
| bgcolor={{Color| Writer}} | {{Icon| Writer |5|60}}
 
|-
 
|-
| width="150" | '''Plateform''' || {{{OS}}}
+
|}</center>
 +
 
 +
=== OS ===
 +
Legended "Plateform", default value = All (to implement)
 +
 
 +
=== Status ===
 +
{| cellpadding="10"
 
|-
 
|-
| width="150" | '''Module''' || {{{Module}}}
+
! Préliminary
 +
| Draft stage / Not finalized
 
|-
 
|-
| width="150" | '''Authors''' || {{{Authors}}}
+
! Standard
|-
+
| Stable.
| width="150" | '''Date''' || {{{Date}}}
+
|-
+
| width="150" | '''Status''' ([[Template:CitePage#Help|Help]]) || {{{Status}}}
+
|-
+
| width="150" | '''Adress''' || {{{Link}}}
+
 
|-
 
|-
 +
! Obsolete
 +
| This doc is outdated. Perhaps need to precise more... need three more "version" parameters
 
|}
 
|}
  
<noinclude>
+
=== Title ===
 +
Depend on Legend. If Legend is set to Yes then the value will be duplicate in the command DISPLAYTITLE. If set to No it's only reported in the table heading.
 +
<!-->Il ressort deux fois, dans la légende de la page (DISPLAYTITLE) et dans l'en-tête du tableau récapitulatif.<-->
  
 
== Example ==
 
== Example ==
 
; Calling Template: Please feel free to choose an (English) more pertinent example...
 
; Calling Template: Please feel free to choose an (English) more pertinent example...
  <pre>
+
  <pre>{{CitePage|Title=Débuter à partir d'une application exemple commentée.
{{CitePage|Title=Débuter à partir d'une application exemple commentée.
+
|Legend=No (prevent from DISPLAYTITLE and give level h5 to title - Normally for tutorials acting as "doubles")
 
|Authors=Pierre-Yves Samyn
 
|Authors=Pierre-Yves Samyn
 
|Description=Questions fréquentes sur la mise en oeuvre de Base.  
 
|Description=Questions fréquentes sur la mise en oeuvre de Base.  
Les exemples présentés ici n'utilisent volontairement aucune macro.  
+
Les exemples présentés ici n'utilisent volontairement aucune macro. <br>
 
Really valuable French example for getting started :-)
 
Really valuable French example for getting started :-)
 
|Module=Base
 
|Module=Base
Line 54: Line 111:
 
|Status=Standard
 
|Status=Standard
 
|OS=Toutes
 
|OS=Toutes
|Site=fr:Forum (this value could contain the left part of the adress) <!--> (il faudrait que cette valeur provoque un lien vers le forum) <-->
+
|Site=fr:Forum (this value could contain the left part of the adress)  
|SiteCode=6460 (and with this one concat like this: http://user.services.openoffice.org/fr/forum/ftopic6460.html ) <!--> (et que celle-ci recompose l'adresse sous la forme ... ) <-->
+
|SiteCode=6460 (and with this one concat like this: http://user.services.openoffice.org/fr/forum/ftopic6460.html )  
|Link=http://user.services.openoffice.org/fr/forum/viewtopic.php?f=29&t=6460 is the result of Copying link, right-clicking in Firefox.
+
|Link=http://user.services.openoffice.org/fr/forum/viewtopic.php?f=29&amp;t=6460 is the result of Copying link, right-clicking in Firefox.
 
}}
 
}}
 
</pre>
 
</pre>
 
; Résult:
 
; Résult:
 
{{CitePage|Title=Débuter à partir d'une application exemple commentée.
 
{{CitePage|Title=Débuter à partir d'une application exemple commentée.
 +
|Legend=No
 
|Authors=Pierre-Yves Samyn
 
|Authors=Pierre-Yves Samyn
 
|Description=Questions fréquentes sur la mise en oeuvre de Base.  
 
|Description=Questions fréquentes sur la mise en oeuvre de Base.  
Les exemples présentés ici n'utilisent volontairement aucune macro.  
+
Les exemples présentés ici n'utilisent volontairement aucune macro. <br>
 
Really valuable French example for getting started :-)
 
Really valuable French example for getting started :-)
 
|Module=Base
 
|Module=Base
Line 73: Line 131:
 
|Link=http://user.services.openoffice.org/fr/forum/ftopic6460.html
 
|Link=http://user.services.openoffice.org/fr/forum/ftopic6460.html
 
}}
 
}}
 +
</noinclude>
  
----
+
<noinclude>[[Category:FR/Modeles_Wiki|Citation]]
 
+
[[Category:Templates_for_links]]
 
+
{{PDL1}} </noinclude>
__TOC__
+
 
+
== Help ==
+
At this time you can only include one instance per page. More in the talk page...
+
 
+
; Parameters not yet used
+
:Site=fr:Forum (this value could contain the left part of the adress) <!--> (il faudrait que cette valeur provoque un lien vers le forum) <-->
+
:SiteCode=6460 (and with this one concat like this: http://user.services.openoffice.org/fr/forum/ftopic6460.html ) <!--> (et que celle-ci recompose l'adresse sous la forme ... )  <-->
+
 
+
=== Title ===
+
More in talk page...
+
<!-->Il ressort deux fois, dans la légende de la page (DISPLAYTITLE) et dans l'en-tête du tableau récapitulatif.<-->
+
 
+
=== OS ===
+
Legended "Plateform", default value = All
+
<!-->La légende de ce paramètre est ''Plate-forme'', et devrait donc par défaut être sur "Toutes"...<-->
+
 
+
=== Statut ===
+
; Préliminary
+
: Draft stage / Not finalized
+
; Standard
+
: Stable.
+
; Obsolete
+
: This doc is outdated. Perhaps need to precise more Ce document n'est plus maintenant nécessaire, ou ne correspond plus à la version courante de {{OOo}}.
+
 
+
</noinclude>
+
 
+
<noinclude>[[Category:FR/Modeles]]</noinclude>
+

Latest revision as of 11:56, 5 June 2009

Briefly

Edit.png


{{{Title}}}

Description {{{Description}}}
Plateform {{{OS}}} Module {{{Module}}} Status (Help) {{{Status}}}
Author(s) {{{Authors}}} Date {{{Date}}}
Address
{{{Link}}}

This template is inspired from Template:Specification_Header and examples of WikiPedia. Many thanks to authors.

While inspired from a header, I think first it would be better as a footer. Use it at your own taste :-)

Because additionnals comments (outside the template) could be rare and they could be best shown in the top of the page.


It's actually in a draft stage...
My english writing too. ;-)
Thanks in advance / Feel free to correct my mistakes, in spellchecking and... semantic, well... sense.


Help

Parameters not yet used 
An example with the (French) forum...
Site=fr:Forum (this value could reflect to the left part of the adress, in this case http://user.services.openoffice.org/fr/forum)
SiteCode=6460 (and with this value, concat like this: http://user.services.openoffice.org/fr/forum/ftopic6460.html )

It could be a manner of restricting usage to only referenced site. However I forget it for now, just keeping "footprints" of such possibility.

Address

Set to the actual link(s) of the page or file. In this last case, you should also set the file type and size.

Authors

Enter here the name of author(s), coma separated.

Date

Set to last update of the document, in the format YYYY-MM-DD, ten characters with the two "-".

Description

Enter a short document description, or paste the very first lines of introduction. It's often the largest part.

Legend

If set to No, template don't insert Title in the DISPLAYTITLE command but in a h5 heading, to be included more than once in a page...

Module

Eight values :

Two templates Icon and Color assign (dynamiquement) icon and color.
Base Calc Draw General Impress Math Wiki Writer
Base.png


Calc.png


Draw.png


Edit.png


Impress.png


Math.png


Book.png


Writer.png


OS

Legended "Plateform", default value = All (to implement)

Status

Préliminary Draft stage / Not finalized
Standard Stable.
Obsolete This doc is outdated. Perhaps need to precise more... need three more "version" parameters

Title

Depend on Legend. If Legend is set to Yes then the value will be duplicate in the command DISPLAYTITLE. If set to No it's only reported in the table heading.

Example

Calling Template
Please feel free to choose an (English) more pertinent example...
{{CitePage|Title=Débuter à partir d'une application exemple commentée.
|Legend=No (prevent from DISPLAYTITLE and give level h5 to title - Normally for tutorials acting as "doubles")
|Authors=Pierre-Yves Samyn
|Description=Questions fréquentes sur la mise en oeuvre de Base. 
Les exemples présentés ici n'utilisent volontairement aucune macro. <br>
Really valuable French example for getting started :-)
|Module=Base
|Date=2007-09-10
|Status=Standard
|OS=Toutes
|Site=fr:Forum (this value could contain the left part of the adress) 
|SiteCode=6460 (and with this one concat like this: http://user.services.openoffice.org/fr/forum/ftopic6460.html ) 
|Link=http://user.services.openoffice.org/fr/forum/viewtopic.php?f=29&t=6460 is the result of Copying link, right-clicking in Firefox.
}}
Résult
Débuter à partir d'une application exemple commentée.
Base.png


Débuter à partir d'une application exemple commentée.

Description Questions fréquentes sur la mise en oeuvre de Base.

Les exemples présentés ici n'utilisent volontairement aucune macro.
Really valuable French example for getting started :-)

Plateform Toutes Module Base Status (Help) Standard
Author(s) Pierre-Yves Samyn Date 2007-09-10
Address
http://user.services.openoffice.org/fr/forum/ftopic6460.html
Content on this page is licensed under the Public Documentation License (PDL).



Personal tools
In other languages