Différences entre les versions de « Modèle:Page status »

De Semantic MediaWiki - Sandbox

Balise : Éditeur de wikicode 2017
Balise : Éditeur de wikicode 2017
Ligne 9 : Ligne 9 :
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
'''Page status:''' [[Has page status::{{#switch:{{{Page status|Draft}}}|  Draft = <div style="background-color:#fc3; width: 280px; text-align: center;"> Draft </div>}}]]  
 
'''Page status:''' [[Has page status::{{#switch:{{{Page status|Draft}}}|  Draft = <div style="background-color:#fc3; width: 280px; text-align: center;"> Draft </div>}}]]  
</includeonly>
+
</includeonly><noinclude>
 
old code:
 
old code:
  
Live = <div style="background-color:#AAFFAA; width: 280px; text-align: center;"> Live </div>| Draft = <div style="background-color:#fc3; width: 280px; text-align: center;"> Draft </div>| Review = <div style="background-color:#36c; width: 280px; text-align: center;"> Review </div> | Record = <div style="background-color:#d33; width: 280px; text-align: center;"> Record </div>}}]]
+
| Live = <div style="background-color:#AAFFAA; width: 280px; text-align: center;"> Live </div>| Draft = <div style="background-color:#fc3; width: 280px; text-align: center;"> Draft </div>| Review = <div style="background-color:#36c; width: 280px; text-align: center;"> Review </div> | Record = <div style="background-color:#d33; width: 280px; text-align: center;"> Record </div>
 +
</noinclude>

Version du 30 août 2018 à 10:46

Ceci est le modèle « Page status ». Il devrait être appelé selon le format suivant :

{{Page status
|Page status=
}}

Modifiez la page pour voir le texte du modèle.

old code:

| Live =

Live

| Draft =

Draft

| Review =

Review

| Record =

Record
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.