Difference between revisions of "Template:CitePage"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Update)
m (Changement de catégorie.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{ #ifeq: {{{Legend}}}|No| ====={{{Title}}}===== |{{DISPLAYTITLE:{{{Title}}}}}'''<big>Briefly</big>'''}} <!--> If Legend <> No, Title = DISPLAYTITLE and display of "Briefly". <-->  
 
{{ #ifeq: {{{Legend}}}|No| ====={{{Title}}}===== |{{DISPLAYTITLE:{{{Title}}}}}'''<big>Briefly</big>'''}} <!--> If Legend <> No, Title = DISPLAYTITLE and display of "Briefly". <-->  
 
 
{| cellspacing="0" cellpadding="4" border="2" style="border: 3px solid rgb(0, 85, 221); margin: 1em 1em 1em 0pt; border-collapse: collapse; width: 100%;"
 
{| 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"
+
|- align="left" margin-top=30px margin-left=60px
| bgcolor="#abcdef" colspan="6" | {{Icon|{{{Module}}}|3|60}}<big>'''{{{Title}}}'''</big>
+
| bgcolor={{Color|{{{Module}}}}} colspan="6" | {{Icon|{{{Module}}}|3|60}}<big>'''{{{Title}}}'''</big>
 
|-
 
|-
| width="10%" bgcolor="#abcdef" | '''Description'''  
+
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Description'''  
 
| colspan="5" | {{{Description}}}
 
| colspan="5" | {{{Description}}}
 
|-
 
|-
| width="10%" bgcolor="#abcdef" | '''Plateform'''  
+
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Plateform'''  
 
| width="23%" | {{{OS}}}  
 
| width="23%" | {{{OS}}}  
| width="10%" bgcolor="#abcdef" | '''Module'''  
+
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Module'''  
 
| width="23%" | {{{Module}}}  
 
| width="23%" | {{{Module}}}  
| width="10%" bgcolor="#abcdef" | '''Status''' ([[Template:CitePage#Help|Help]])  
+
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Status''' ([[Template:CitePage#Help|Help]])  
 
| width="24%" | {{{Status}}}
 
| width="24%" | {{{Status}}}
 
|-
 
|-
| width="10%" bgcolor="#abcdef" | '''Author(s)'''  
+
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Author(s)'''  
 
| colspan="3" | {{{Authors}}}  
 
| colspan="3" | {{{Authors}}}  
| width="10%" bgcolor="#abcdef" | '''Date'''  
+
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Date'''  
 
| {{{Date}}}
 
| {{{Date}}}
 
|-
 
|-
| width="10%" bgcolor="#abcdef" | '''Address'''  
+
| width="10%" bgcolor={{Color|{{{Module}}}}} | '''Address'''  
 
| colspan="5" | <center>{{{Link}}}</center>
 
| colspan="5" | <center>{{{Link}}}</center>
|}
+
|}<noinclude>
  
<noinclude> __NOTOC__
 
 
[[fr:Template:FR/CitePage]]
 
[[fr:Template:FR/CitePage]]
 
{{Spacer|60}}
 
{{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 41: Line 38:
  
 
== Help ==
 
== Help ==
At this time you can only include one instance per page. [[Template_talk:CitePage|More in the talk page...]]
+
* [[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.
  
; Parameters not yet used
+
=== Address ===
:Site=fr:Forum (this value could reflect to the left part of the adress) <!--> (il faudrait que cette valeur provoque un lien vers le forum) <-->
+
Set to the actual link(s) of the page or file. In this last case, you should also set the file type and size.
: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 ===
+
=== Authors ===
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.
+
Enter here the name of author(s), coma separated.
<!-->Il ressort deux fois, dans la légende de la page (DISPLAYTITLE) et dans l'en-tête du tableau récapitulatif.<-->
+
 
 +
=== 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|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
 +
|-
 +
| 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}}
 +
|-
 +
|}</center>
  
 
=== OS ===
 
=== OS ===
Legended "Plateform", default value = All
+
Legended "Plateform", default value = All (to implement)
<!-->La légende de ce paramètre est ''Plate-forme'', et devrait donc par défaut être sur "Toutes"...<-->
+
  
 
=== Status ===
 
=== Status ===
; Préliminary  
+
{| cellpadding="10"
: Draft stage / Not finalized
+
|-
; Standard  
+
! Préliminary  
: Stable.
+
| Draft stage / Not finalized
; 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}}.
+
! 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.
 +
<!-->Il ressort deux fois, dans la légende de la page (DISPLAYTITLE) et dans l'en-tête du tableau récapitulatif.<-->
  
 
== Example ==
 
== Example ==
Line 97: Line 133:
 
</noinclude>  
 
</noinclude>  
  
<noinclude>[[Category:FR/Modeles]]  
+
<noinclude>[[Category:FR/Modeles_Wiki|Citation]]  
[[Category:Templates_for_links]] </noinclude>
+
[[Category:Templates_for_links]]  
 +
{{PDL1}} </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