Mini Program, two templates in a page are reused twice, how to pass different values to this template?

template:

<template name="temp">
//  status  {{status}}
</template>

then send in status

when you use this template for the first time on this page.
<template is="temp" data="{{status}}"
</template>

I want to use this template in this page (which is a tab tab) a second time, but what should I do to use another variable status1, this time?
it won"t work if I pass status1 directly, so I think the variable name passed must be the status? used to define the template

.
// 
<template is="temp" data="{{status1}}" 
</template>

but if you reassign the status every time you switch tab, the page will have to reload, which you don"t want.

Mar.10,2021

put two template , and each time you switch tab , you can display one of them wx-if

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb8da7-2709.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb8da7-2709.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?