Site Notice

hello, world

Difference between revisions of "MediaWiki:Custom-RandomBackground/List"

From Project-EPB Commons
([InPageEdit] 没有编辑摘要)
([InPageEdit] 没有编辑摘要)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
// <pre>
+
{
/**
+
  "格式化":"<pre>{\"忽视这一行\":\"这一行让代码看起来比较好看\"",
* 这个页面保存了用于本站随机背景图的图片列表。
+
  "说明": "这个页面保存了用于本站随机背景图的图片列表,请模仿以下格式在list中添加图片",
* 请模仿以下json格式维护列表
+
   "各个值的说明": "img是图片url,des指的是图片的说明",
* 请不要打乱代码块!
+
   "list": [
**/
+
    {
 
+
       "img": "https://vignette.wikia.nocookie.net/no-game-no-life/images/c/c5/WikiBackground1.png/revision/latest?cb=20190726210321&format=original&path-prefix=zh",  
   {
+
       "des": "background1"
   list: [{
+
     },  
       img: 'https://vignette.wikia.nocookie.net/no-game-no-life/images/c/c5/WikiBackground1.png/revision/latest?cb=20190726210321&format=original&path-prefix=zh',
+
    {
       des: 'background1'
+
       "img": "ackground2.jpeg/revision/latest?cb=20190726210322&format=original&path-prefix=zh",
     },{
+
       "des": "bg2"
       img: 'ackground2.jpeg/revision/latest?cb=20190726210322&format=original&path-prefix=zh'
+
     },  
       des: 'bg2'
+
    {
     },{
+
       "img": "https://vignette.wikia.nocookie.net/no-game-no-life/images/9/93/WikiBackground3.jpeg/revision/latest?cb=20190326093758&format=original&path-prefix=zh",  
       img: 'https://vignette.wikia.nocookie.net/no-game-no-life/images/9/93/WikiBackground3.jpeg/revision/latest?cb=20190326093758&format=original&path-prefix=zh',
+
       "des": "bg3"
       des: 'bg3'
+
     },  
     },{
+
    {
       img: ' https://vignette.wikia.nocookie.net/no-game-no-life/images/2/2d/WikiBackground4.jpeg/revision/latest?cb=20190326163854&format=original&path-prefix=zh',
+
       "img": " https://vignette.wikia.nocookie.net/no-game-no-life/images/2/2d/WikiBackground4.jpeg/revision/latest?cb=20190326163854&format=original&path-prefix=zh",  
       des: 'bg4'
+
       "des": "bg4"
 +
    },
 +
    {
 +
      "img": "https://vignette.wikia.nocookie.net/no-game-no-life/images/b/bf/WikiBackground5.jpeg/revision/latest?cb=20190326165906&format=original&path-prefix=zh",
 +
      "des": "bg5"
 
     }
 
     }
      img: 'https://vignette.wikia.nocookie.net/no-game-no-life/images/b/bf/WikiBackground5.jpeg/revision/latest?cb=20190326165906&format=original&path-prefix=zh',
+
  ]
      des: 'bg5'
+
}
    }]
 
  }
 

Latest revision as of 12:24, 8 November 2019

{

"格式化":"

{\"忽视这一行\":\"这一行让代码看起来比较好看\"",
  "说明": "这个页面保存了用于本站随机背景图的图片列表,请模仿以下格式在list中添加图片",
  "各个值的说明": "img是图片url,des指的是图片的说明",
  "list": [
    {
      "img": "https://vignette.wikia.nocookie.net/no-game-no-life/images/c/c5/WikiBackground1.png/revision/latest?cb=20190726210321&format=original&path-prefix=zh", 
      "des": "background1"
    }, 
    {
      "img": "ackground2.jpeg/revision/latest?cb=20190726210322&format=original&path-prefix=zh", 
      "des": "bg2"
    }, 
    {
      "img": "https://vignette.wikia.nocookie.net/no-game-no-life/images/9/93/WikiBackground3.jpeg/revision/latest?cb=20190326093758&format=original&path-prefix=zh", 
      "des": "bg3"
    }, 
    {
      "img": " https://vignette.wikia.nocookie.net/no-game-no-life/images/2/2d/WikiBackground4.jpeg/revision/latest?cb=20190326163854&format=original&path-prefix=zh", 
      "des": "bg4"
    }, 
    {
      "img": "https://vignette.wikia.nocookie.net/no-game-no-life/images/b/bf/WikiBackground5.jpeg/revision/latest?cb=20190326165906&format=original&path-prefix=zh", 
      "des": "bg5"
    }
  ]
}