« Modèle:File » : différence entre les versions
import>Fleon (Page créée avec « <div style="border: 1px solid #50375f; padding: .2em .3em; margin: .2em .2em; background-color: #e8dee6;"><div style="background-color: #ebe0c6; padding: .2em; margin: .2em; ... ») |
import>Fleon Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
<div style="border: 1px solid #50375f; padding: .2em .3em; margin: .2em .2em; background-color: #e8dee6;"><div style="background-color: #ebe0c6; padding: .2em; margin: .2em; border: solid 1px #d7b769; font-size: 92%; ">'''File:''' {{{1}}}</div>{{{2}}}</div><noinclude>{{TemplateDoc}}[[Category:Template]]</noinclude> | <includeonly><div style="border: 1px solid #50375f; padding: .2em .3em; margin: .2em .2em; background-color: #e8dee6;"><div style="background-color: #ebe0c6; padding: .2em; margin: .2em; border: solid 1px #d7b769; font-size: 92%; ">'''File:''' {{{1}}}</div>{{{2}}}</div></includeonly><noinclude>{{TemplateDoc}}[[Category:Template]]</noinclude> |
Version du 24 novembre 2011 à 12:02
[edit] Fichier:Template-info.svg Documentation des modèles
Ce modèle est utilisé pour inclure le contenu d'un fichier. Exemple:{{File|/etc/conf.d/915resolution|<pre> # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/915resolution/files/confd,v 1.3 2007/04/17 16:52:24 genstef Exp $ # Config file for /etc/init.d/915resolution # based on the config file included with sys-apps/855resolution # this example will replace mode "4d" with 1280x768x24 # to replace more than one mode do something like this #replace="'4d 1280 768 24' '5c 1400 1050 16'" replace="'5c 800 480 32'" # if you want to log the output add the file here. # this will be overwritten at every boot log="/var/log/915resolution" </pre>}} Produit: File: /etc/conf.d/915resolution # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/915resolution/files/confd,v 1.3 2007/04/17 16:52:24 genstef Exp $ # Config file for /etc/init.d/915resolution # based on the config file included with sys-apps/855resolution # this example will replace mode "4d" with 1280x768x24 # to replace more than one mode do something like this #replace="'4d 1280 768 24' '5c 1400 1050 16'" replace="'5c 800 480 32'" # if you want to log the output add the file here. # this will be overwritten at every boot log="/var/log/915resolution" Pour indiquer uniquement le chemin d'un fichier (e.g., /etc/conf.d/915resolution), utiliser Template:Path. |